home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1993-12-26 | 30.9 KB | [ dELC/EMAC]
open in: MacOS 8.1
extracted
|
Win98
extracted
|
DOS
extracted
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary ).
Confidence Program Detection Match Type Support
10%
dexvert
MacBinary (archive/macBinary)
fallback
Supported
1%
dexvert
Combustion 2 Particle Library (other/combustion2ParticleLibrary)
ext
Unsupported
1%
dexvert
Emacs Compiled Lisp (other/emacsCompiledLisp)
ext
Unsupported
100%
file
MacBinary II, Sun Dec 26 15:05:03 1993, modified Sun Dec 26 15:05:03 1993, creator 'EMAC', type 'dELC', 31068 bytes "files.elc" Emacs v18 byte-compiled Lisp data, at 0x79dc 316 bytes resource Emacs v18 byte-compiled Lisp data
default (weak)
99%
file
data
default
100%
TrID
MacBinary 2
default (weak)
100%
lsar
MacBinary
default
id metadata key value macFileType [ dELC] macFileCreator [ EMAC]
hex view +--------+-------------------------+-------------------------+--------+--------+ |00000000| 00 09 66 69 6c 65 73 2e | 65 6c 63 00 00 00 00 00 |..files.|elc.....| |00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000040| 00 64 45 4c 43 45 4d 41 | 43 00 00 00 00 00 00 00 |.dELCEMA|C.......| |00000050| 00 00 00 00 00 79 5c 00 | 00 01 3c a9 43 9e ef a9 |.....y\.|..<.C...| |00000060| 43 9e ef 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |C.......|........| |00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 1c de 00 00 |........|........| |00000080| 0a 28 64 65 66 63 6f 6e | 73 74 20 64 65 6c 65 74 |.(defcon|st delet| |00000090| 65 2d 61 75 74 6f 2d 73 | 61 76 65 2d 66 69 6c 65 |e-auto-s|ave-file| |000000a0| 73 20 74 20 22 5c 0a 2a | 4e 6f 6e 2d 6e 69 6c 20 |s t "\.*|Non-nil | |000000b0| 6d 65 61 6e 73 20 64 65 | 6c 65 74 65 20 61 20 62 |means de|lete a b| |000000c0| 75 66 66 65 72 27 73 20 | 61 75 74 6f 2d 73 61 76 |uffer's |auto-sav| |000000d0| 65 20 66 69 6c 65 0a 77 | 68 65 6e 20 74 68 65 20 |e file.w|hen the | |000000e0| 62 75 66 66 65 72 20 69 | 73 20 73 61 76 65 64 20 |buffer i|s saved | |000000f0| 66 6f 72 20 72 65 61 6c | 2e 22 29 0a 0a 28 64 65 |for real|.")..(de| |00000100| 66 63 6f 6e 73 74 20 6d | 61 6b 65 2d 62 61 63 6b |fconst m|ake-back| |00000110| 75 70 2d 66 69 6c 65 73 | 20 28 6e 6f 74 20 28 65 |up-files| (not (e| |00000120| 71 20 73 79 73 74 65 6d | 2d 74 79 70 65 20 28 71 |q system|-type (q| |00000130| 75 6f 74 65 20 76 61 78 | 2d 76 6d 73 29 29 29 20 |uote vax|-vms))) | |00000140| 22 5c 0a 2a 43 72 65 61 | 74 65 20 61 20 62 61 63 |"\.*Crea|te a bac| |00000150| 6b 75 70 20 6f 66 20 65 | 61 63 68 20 66 69 6c 65 |kup of e|ach file| |00000160| 20 77 68 65 6e 20 69 74 | 20 69 73 20 73 61 76 65 | when it| is save| |00000170| 64 20 66 6f 72 20 74 68 | 65 20 66 69 72 73 74 20 |d for th|e first | |00000180| 74 69 6d 65 2e 0a 54 68 | 69 73 20 63 61 6e 20 62 |time..Th|is can b| |00000190| 65 20 64 6f 6e 65 20 62 | 79 20 72 65 6e 61 6d 69 |e done b|y renami| |000001a0| 6e 67 20 74 68 65 20 66 | 69 6c 65 20 6f 72 20 62 |ng the f|ile or b| |000001b0| 79 20 63 6f 70 79 69 6e | 67 2e 0a 0a 52 65 6e 61 |y copyin|g...Rena| |000001c0| 6d 69 6e 67 20 6d 65 61 | 6e 73 20 74 68 61 74 20 |ming mea|ns that | |000001d0| 45 6d 61 63 73 20 72 65 | 6e 61 6d 65 73 20 74 68 |Emacs re|names th| |000001e0| 65 20 65 78 69 73 74 69 | 6e 67 20 66 69 6c 65 20 |e existi|ng file | |000001f0| 73 6f 20 74 68 61 74 20 | 69 74 20 69 73 20 61 0a |so that |it is a.| |00000200| 62 61 63 6b 75 70 20 66 | 69 6c 65 2c 20 74 68 65 |backup f|ile, the| |00000210| 6e 20 77 72 69 74 65 73 | 20 74 68 65 20 62 75 66 |n writes| the buf| |00000220| 66 65 72 20 69 6e 74 6f | 20 61 20 6e 65 77 20 66 |fer into| a new f| |00000230| 69 6c 65 2e 20 20 41 6e | 79 20 6f 74 68 65 72 20 |ile. An|y other | |00000240| 6e 61 6d 65 73 0a 74 68 | 61 74 20 74 68 65 20 6f |names.th|at the o| |00000250| 6c 64 20 66 69 6c 65 20 | 68 61 64 20 77 69 6c 6c |ld file |had will| |00000260| 20 6e 6f 77 20 72 65 66 | 65 72 20 74 6f 20 74 68 | now ref|er to th| |00000270| 65 20 62 61 63 6b 75 70 | 20 66 69 6c 65 2e 0a 54 |e backup| file..T| |00000280| 68 65 20 6e 65 77 20 66 | 69 6c 65 20 69 73 20 6f |he new f|ile is o| |00000290| 77 6e 65 64 20 62 79 20 | 79 6f 75 20 61 6e 64 20 |wned by |you and | |000002a0| 69 74 73 20 67 72 6f 75 | 70 20 69 73 20 64 65 66 |its grou|p is def| |000002b0| 61 75 6c 74 65 64 2e 0a | 0a 43 6f 70 79 69 6e 67 |aulted..|.Copying| |000002c0| 20 6d 65 61 6e 73 20 74 | 68 61 74 20 45 6d 61 63 | means t|hat Emac| |000002d0| 73 20 63 6f 70 69 65 73 | 20 74 68 65 20 65 78 69 |s copies| the exi| |000002e0| 73 74 69 6e 67 20 66 69 | 6c 65 20 69 6e 74 6f 20 |sting fi|le into | |000002f0| 74 68 65 20 62 61 63 6b | 75 70 20 66 69 6c 65 2c |the back|up file,| |00000300| 0a 74 68 65 6e 20 77 72 | 69 74 65 73 20 74 68 65 |.then wr|ites the| |00000310| 20 62 75 66 66 65 72 20 | 6f 6e 20 74 6f 70 20 6f | buffer |on top o| |00000320| 66 20 74 68 65 20 65 78 | 69 73 74 69 6e 67 20 66 |f the ex|isting f| |00000330| 69 6c 65 2e 20 20 41 6e | 79 20 6f 74 68 65 72 20 |ile. An|y other | |00000340| 6e 61 6d 65 73 0a 74 68 | 61 74 20 74 68 65 20 6f |names.th|at the o| |00000350| 6c 64 20 66 69 6c 65 20 | 68 61 64 20 77 69 6c 6c |ld file |had will| |00000360| 20 6e 6f 77 20 72 65 66 | 65 72 20 74 6f 20 74 68 | now ref|er to th| |00000370| 65 20 6e 65 77 20 28 65 | 64 69 74 65 64 29 20 66 |e new (e|dited) f| |00000380| 69 6c 65 2e 0a 54 68 65 | 20 66 69 6c 65 27 73 20 |ile..The| file's | |00000390| 6f 77 6e 65 72 20 61 6e | 64 20 67 72 6f 75 70 20 |owner an|d group | |000003a0| 61 72 65 20 75 6e 63 68 | 61 6e 67 65 64 2e 0a 0a |are unch|anged...| |000003b0| 54 68 65 20 63 68 6f 69 | 63 65 20 6f 66 20 72 65 |The choi|ce of re| |000003c0| 6e 61 6d 69 6e 67 20 6f | 72 20 63 6f 70 79 69 6e |naming o|r copyin| |000003d0| 67 20 69 73 20 63 6f 6e | 74 72 6f 6c 6c 65 64 20 |g is con|trolled | |000003e0| 62 79 20 74 68 65 20 76 | 61 72 69 61 62 6c 65 73 |by the v|ariables| |000003f0| 0a 62 61 63 6b 75 70 2d | 62 79 2d 63 6f 70 79 69 |.backup-|by-copyi| |00000400| 6e 67 2c 20 62 61 63 6b | 75 70 2d 62 79 2d 63 6f |ng, back|up-by-co| |00000410| 70 79 69 6e 67 2d 77 68 | 65 6e 2d 6c 69 6e 6b 65 |pying-wh|en-linke| |00000420| 64 20 61 6e 64 0a 62 61 | 63 6b 75 70 2d 62 79 2d |d and.ba|ckup-by-| |00000430| 63 6f 70 79 69 6e 67 2d | 77 68 65 6e 2d 6d 69 73 |copying-|when-mis| |00000440| 6d 61 74 63 68 2e 22 29 | 0a 0a 28 64 65 66 63 6f |match.")|..(defco| |00000450| 6e 73 74 20 62 61 63 6b | 75 70 2d 62 79 2d 63 6f |nst back|up-by-co| |00000460| 70 79 69 6e 67 20 6e 69 | 6c 20 22 5c 0a 2a 4e 6f |pying ni|l "\.*No| |00000470| 6e 2d 6e 69 6c 20 6d 65 | 61 6e 73 20 61 6c 77 61 |n-nil me|ans alwa| |00000480| 79 73 20 75 73 65 20 63 | 6f 70 79 69 6e 67 20 74 |ys use c|opying t| |00000490| 6f 20 63 72 65 61 74 65 | 20 62 61 63 6b 75 70 20 |o create| backup | |000004a0| 66 69 6c 65 73 2e 0a 53 | 65 65 20 64 6f 63 75 6d |files..S|ee docum| |000004b0| 65 6e 74 61 74 69 6f 6e | 20 6f 66 20 76 61 72 69 |entation| of vari| |000004c0| 61 62 6c 65 20 20 6d 61 | 6b 65 2d 62 61 63 6b 75 |able ma|ke-backu| |000004d0| 70 2d 66 69 6c 65 73 2e | 22 29 0a 0a 28 64 65 66 |p-files.|")..(def| |000004e0| 63 6f 6e 73 74 20 62 61 | 63 6b 75 70 2d 62 79 2d |const ba|ckup-by-| |000004f0| 63 6f 70 79 69 6e 67 2d | 77 68 65 6e 2d 6c 69 6e |copying-|when-lin| |00000500| 6b 65 64 20 6e 69 6c 20 | 22 5c 0a 2a 4e 6f 6e 2d |ked nil |"\.*Non-| |00000510| 6e 69 6c 20 6d 65 61 6e | 73 20 75 73 65 20 63 6f |nil mean|s use co| |00000520| 70 79 69 6e 67 20 74 6f | 20 63 72 65 61 74 65 20 |pying to| create | |00000530| 62 61 63 6b 75 70 73 20 | 66 6f 72 20 66 69 6c 65 |backups |for file| |00000540| 73 20 77 69 74 68 20 6d | 75 6c 74 69 70 6c 65 20 |s with m|ultiple | |00000550| 6e 61 6d 65 73 2e 0a 54 | 68 69 73 20 63 61 75 73 |names..T|his caus| |00000560| 65 73 20 74 68 65 20 61 | 6c 74 65 72 6e 61 74 65 |es the a|lternate| |00000570| 20 6e 61 6d 65 73 20 74 | 6f 20 72 65 66 65 72 20 | names t|o refer | |00000580| 74 6f 20 74 68 65 20 6c | 61 74 65 73 74 20 76 65 |to the l|atest ve| |00000590| 72 73 69 6f 6e 20 61 73 | 20 65 64 69 74 65 64 2e |rsion as| edited.| |000005a0| 0a 54 68 69 73 20 76 61 | 72 69 61 62 6c 65 20 69 |.This va|riable i| |000005b0| 73 20 72 65 6c 65 76 61 | 6e 74 20 6f 6e 6c 79 20 |s releva|nt only | |000005c0| 69 66 20 20 62 61 63 6b | 75 70 2d 62 79 2d 63 6f |if back|up-by-co| |000005d0| 70 79 69 6e 67 20 20 69 | 73 20 6e 69 6c 2e 22 29 |pying i|s nil.")| |000005e0| 0a 0a 28 64 65 66 63 6f | 6e 73 74 20 62 61 63 6b |..(defco|nst back| |000005f0| 75 70 2d 62 79 2d 63 6f | 70 79 69 6e 67 2d 77 68 |up-by-co|pying-wh| |00000600| 65 6e 2d 6d 69 73 6d 61 | 74 63 68 20 6e 69 6c 20 |en-misma|tch nil | |00000610| 22 5c 0a 2a 4e 6f 6e 2d | 6e 69 6c 20 6d 65 61 6e |"\.*Non-|nil mean| |00000620| 73 20 63 72 65 61 74 65 | 20 62 61 63 6b 75 70 73 |s create| backups| |00000630| 20 62 79 20 63 6f 70 79 | 69 6e 67 20 69 66 20 74 | by copy|ing if t| |00000640| 68 69 73 20 70 72 65 73 | 65 72 76 65 73 20 6f 77 |his pres|erves ow| |00000650| 6e 65 72 20 6f 72 20 67 | 72 6f 75 70 2e 0a 52 65 |ner or g|roup..Re| |00000660| 6e 61 6d 69 6e 67 20 6d | 61 79 20 73 74 69 6c 6c |naming m|ay still| |00000670| 20 62 65 20 75 73 65 64 | 20 28 73 75 62 6a 65 63 | be used| (subjec| |00000680| 74 20 74 6f 20 63 6f 6e | 74 72 6f 6c 20 6f 66 20 |t to con|trol of | |00000690| 6f 74 68 65 72 20 76 61 | 72 69 61 62 6c 65 73 29 |other va|riables)| |000006a0| 0a 77 68 65 6e 20 69 74 | 20 77 6f 75 6c 64 20 6e |.when it| would n| |000006b0| 6f 74 20 72 65 73 75 6c | 74 20 69 6e 20 63 68 61 |ot resul|t in cha| |000006c0| 6e 67 69 6e 67 20 74 68 | 65 20 6f 77 6e 65 72 20 |nging th|e owner | |000006d0| 6f 72 20 67 72 6f 75 70 | 20 6f 66 20 74 68 65 20 |or group| of the | |000006e0| 66 69 6c 65 3b 0a 74 68 | 61 74 20 69 73 2c 20 66 |file;.th|at is, f| |000006f0| 6f 72 20 66 69 6c 65 73 | 20 77 68 69 63 68 20 61 |or files| which a| |00000700| 72 65 20 6f 77 6e 65 64 | 20 62 79 20 79 6f 75 20 |re owned| by you | |00000710| 61 6e 64 20 77 68 6f 73 | 65 20 67 72 6f 75 70 20 |and whos|e group | |00000720| 6d 61 74 63 68 65 73 0a | 74 68 65 20 64 65 66 61 |matches.|the defa| |00000730| 75 6c 74 20 66 6f 72 20 | 61 20 6e 65 77 20 66 69 |ult for |a new fi| |00000740| 6c 65 20 63 72 65 61 74 | 65 64 20 74 68 65 72 65 |le creat|ed there| |00000750| 20 62 79 20 79 6f 75 2e | 0a 54 68 69 73 20 76 61 | by you.|.This va| |00000760| 72 69 61 62 6c 65 20 69 | 73 20 72 65 6c 65 76 61 |riable i|s releva| |00000770| 6e 74 20 6f 6e 6c 79 20 | 69 66 20 20 62 61 63 6b |nt only |if back| |00000780| 75 70 2d 62 79 2d 63 6f | 70 79 69 6e 67 20 20 69 |up-by-co|pying i| |00000790| 73 20 6e 69 6c 2e 22 29 | 0a 0a 28 64 65 66 63 6f |s nil.")|..(defco| |000007a0| 6e 73 74 20 62 75 66 66 | 65 72 2d 6f 66 66 65 72 |nst buff|er-offer| |000007b0| 2d 73 61 76 65 20 6e 69 | 6c 20 22 5c 0a 2a 4e 6f |-save ni|l "\.*No| |000007c0| 6e 2d 6e 69 6c 20 69 6e | 20 61 20 62 75 66 66 65 |n-nil in| a buffe| |000007d0| 72 20 6d 65 61 6e 73 20 | 6f 66 66 65 72 20 74 6f |r means |offer to| |000007e0| 20 73 61 76 65 20 74 68 | 65 20 62 75 66 66 65 72 | save th|e buffer| |000007f0| 20 6f 6e 20 65 78 69 74 | 0a 65 76 65 6e 20 69 66 | on exit|.even if| |00000800| 20 74 68 65 20 62 75 66 | 66 65 72 20 69 73 20 6e | the buf|fer is n| |00000810| 6f 74 20 76 69 73 69 74 | 69 6e 67 20 61 20 66 69 |ot visit|ing a fi| |00000820| 6c 65 2e 20 20 41 75 74 | 6f 6d 61 74 69 63 61 6c |le. Aut|omatical| |00000830| 6c 79 20 6c 6f 63 61 6c | 20 69 6e 0a 61 6c 6c 20 |ly local| in.all | |00000840| 62 75 66 66 65 72 73 2e | 22 29 0a 0a 28 6d 61 6b |buffers.|")..(mak| |00000850| 65 2d 76 61 72 69 61 62 | 6c 65 2d 62 75 66 66 65 |e-variab|le-buffe| |00000860| 72 2d 6c 6f 63 61 6c 20 | 28 71 75 6f 74 65 20 62 |r-local |(quote b| |00000870| 75 66 66 65 72 2d 6f 66 | 66 65 72 2d 73 61 76 65 |uffer-of|fer-save| |00000880| 29 29 0a 0a 28 64 65 66 | 63 6f 6e 73 74 20 66 69 |))..(def|const fi| |00000890| 6c 65 2d 70 72 65 63 69 | 6f 75 73 2d 66 6c 61 67 |le-preci|ous-flag| |000008a0| 20 6e 69 6c 20 22 5c 0a | 2a 4e 6f 6e 2d 6e 69 6c | nil "\.|*Non-nil| |000008b0| 20 6d 65 61 6e 73 20 70 | 72 6f 74 65 63 74 20 61 | means p|rotect a| |000008c0| 67 61 69 6e 73 74 20 49 | 2f 4f 20 65 72 72 6f 72 |gainst I|/O error| |000008d0| 73 20 77 68 69 6c 65 20 | 73 61 76 69 6e 67 20 66 |s while |saving f| |000008e0| 69 6c 65 73 2e 0a 53 6f | 6d 65 20 6d 6f 64 65 73 |iles..So|me modes| |000008f0| 20 73 65 74 20 74 68 69 | 73 20 6e 6f 6e 2d 6e 69 | set thi|s non-ni| |00000900| 6c 20 69 6e 20 70 61 72 | 74 69 63 75 6c 61 72 20 |l in par|ticular | |00000910| 62 75 66 66 65 72 73 2e | 22 29 0a 0a 28 64 65 66 |buffers.|")..(def| |00000920| 76 61 72 20 76 65 72 73 | 69 6f 6e 2d 63 6f 6e 74 |var vers|ion-cont| |00000930| 72 6f 6c 20 6e 69 6c 20 | 22 5c 0a 2a 43 6f 6e 74 |rol nil |"\.*Cont| |00000940| 72 6f 6c 20 75 73 65 20 | 6f 66 20 76 65 72 73 69 |rol use |of versi| |00000950| 6f 6e 20 6e 75 6d 62 65 | 72 73 20 66 6f 72 20 62 |on numbe|rs for b| |00000960| 61 63 6b 75 70 20 66 69 | 6c 65 73 2e 0a 74 20 6d |ackup fi|les..t m| |00000970| 65 61 6e 73 20 6d 61 6b | 65 20 6e 75 6d 65 72 69 |eans mak|e numeri| |00000980| 63 20 62 61 63 6b 75 70 | 20 76 65 72 73 69 6f 6e |c backup| version| |00000990| 73 20 75 6e 63 6f 6e 64 | 69 74 69 6f 6e 61 6c 6c |s uncond|itionall| |000009a0| 79 2e 0a 6e 69 6c 20 6d | 65 61 6e 73 20 6d 61 6b |y..nil m|eans mak| |000009b0| 65 20 74 68 65 6d 20 66 | 6f 72 20 66 69 6c 65 73 |e them f|or files| |000009c0| 20 74 68 61 74 20 68 61 | 76 65 20 73 6f 6d 65 20 | that ha|ve some | |000009d0| 61 6c 72 65 61 64 79 2e | 0a 6e 65 76 65 72 20 6d |already.|.never m| |000009e0| 65 61 6e 73 20 64 6f 20 | 6e 6f 74 20 6d 61 6b 65 |eans do |not make| |000009f0| 20 74 68 65 6d 2e 22 29 | 0a 0a 28 64 65 66 76 61 | them.")|..(defva| |00000a00| 72 20 64 69 72 65 64 2d | 6b 65 70 74 2d 76 65 72 |r dired-|kept-ver| |00000a10| 73 69 6f 6e 73 20 32 20 | 22 5c 0a 2a 57 68 65 6e |sions 2 |"\.*When| |00000a20| 20 63 6c 65 61 6e 69 6e | 67 20 64 69 72 65 63 74 | cleanin|g direct| |00000a30| 6f 72 79 2c 20 6e 75 6d | 62 65 72 20 6f 66 20 76 |ory, num|ber of v| |00000a40| 65 72 73 69 6f 6e 73 20 | 74 6f 20 6b 65 65 70 2e |ersions |to keep.| |00000a50| 22 29 0a 0a 28 64 65 66 | 76 61 72 20 74 72 69 6d |")..(def|var trim| |00000a60| 2d 76 65 72 73 69 6f 6e | 73 2d 77 69 74 68 6f 75 |-version|s-withou| |00000a70| 74 2d 61 73 6b 69 6e 67 | 20 6e 69 6c 20 22 5c 0a |t-asking| nil "\.| |00000a80| 2a 49 66 20 74 72 75 65 | 2c 20 64 65 6c 65 74 65 |*If true|, delete| |00000a90| 73 20 65 78 63 65 73 73 | 20 62 61 63 6b 75 70 20 |s excess| backup | |00000aa0| 76 65 72 73 69 6f 6e 73 | 20 73 69 6c 65 6e 74 6c |versions| silentl| |00000ab0| 79 2e 0a 4f 74 68 65 72 | 77 69 73 65 20 61 73 6b |y..Other|wise ask| |00000ac0| 73 20 63 6f 6e 66 69 72 | 6d 61 74 69 6f 6e 2e 22 |s confir|mation."| |00000ad0| 29 0a 0a 28 64 65 66 76 | 61 72 20 6b 65 70 74 2d |)..(defv|ar kept-| |00000ae0| 6f 6c 64 2d 76 65 72 73 | 69 6f 6e 73 20 32 20 22 |old-vers|ions 2 "| |00000af0| 5c 0a 2a 4e 75 6d 62 65 | 72 20 6f 66 20 6f 6c 64 |\.*Numbe|r of old| |00000b00| 65 73 74 20 76 65 72 73 | 69 6f 6e 73 20 74 6f 20 |est vers|ions to | |00000b10| 6b 65 65 70 20 77 68 65 | 6e 20 61 20 6e 65 77 20 |keep whe|n a new | |00000b20| 6e 75 6d 62 65 72 65 64 | 20 62 61 63 6b 75 70 20 |numbered| backup | |00000b30| 69 73 20 6d 61 64 65 2e | 22 29 0a 0a 28 64 65 66 |is made.|")..(def| |00000b40| 76 61 72 20 6b 65 70 74 | 2d 6e 65 77 2d 76 65 72 |var kept|-new-ver| |00000b50| 73 69 6f 6e 73 20 32 20 | 22 5c 0a 2a 4e 75 6d 62 |sions 2 |"\.*Numb| |00000b60| 65 72 20 6f 66 20 6e 65 | 77 65 73 74 20 76 65 72 |er of ne|west ver| |00000b70| 73 69 6f 6e 73 20 74 6f | 20 6b 65 65 70 20 77 68 |sions to| keep wh| |00000b80| 65 6e 20 61 20 6e 65 77 | 20 6e 75 6d 62 65 72 65 |en a new| numbere| |00000b90| 64 20 62 61 63 6b 75 70 | 20 69 73 20 6d 61 64 65 |d backup| is made| |00000ba0| 2e 0a 49 6e 63 6c 75 64 | 65 73 20 74 68 65 20 6e |..Includ|es the n| |00000bb0| 65 77 20 62 61 63 6b 75 | 70 2e 20 20 4d 75 73 74 |ew backu|p. Must| |00000bc0| 20 62 65 20 3e 20 30 22 | 29 0a 0a 28 64 65 66 63 | be > 0"|)..(defc| |00000bd0| 6f 6e 73 74 20 72 65 71 | 75 69 72 65 2d 66 69 6e |onst req|uire-fin| |00000be0| 61 6c 2d 6e 65 77 6c 69 | 6e 65 20 6e 69 6c 20 22 |al-newli|ne nil "| |00000bf0| 5c 0a 2a 74 20 73 61 79 | 73 20 73 69 6c 65 6e 74 |\.*t say|s silent| |00000c00| 6c 79 20 70 75 74 20 61 | 20 6e 65 77 6c 69 6e 65 |ly put a| newline| |00000c10| 20 61 74 20 74 68 65 20 | 65 6e 64 20 77 68 65 6e | at the |end when| |00000c20| 65 76 65 72 20 61 20 66 | 69 6c 65 20 69 73 20 73 |ever a f|ile is s| |00000c30| 61 76 65 64 2e 0a 4e 6f | 6e 2d 6e 69 6c 20 62 75 |aved..No|n-nil bu| |00000c40| 74 20 6e 6f 74 20 74 20 | 73 61 79 73 20 61 73 6b |t not t |says ask| |00000c50| 20 75 73 65 72 20 77 68 | 65 74 68 65 72 20 74 6f | user wh|ether to| |00000c60| 20 61 64 64 20 61 20 6e | 65 77 6c 69 6e 65 20 69 | add a n|ewline i| |00000c70| 6e 20 65 61 63 68 20 73 | 75 63 68 20 63 61 73 65 |n each s|uch case| |00000c80| 2e 0a 6e 69 6c 20 6d 65 | 61 6e 73 20 64 6f 6e 27 |..nil me|ans don'| |00000c90| 74 20 61 64 64 20 6e 65 | 77 6c 69 6e 65 73 2e 22 |t add ne|wlines."| |00000ca0| 29 0a 0a 28 64 65 66 63 | 6f 6e 73 74 20 61 75 74 |)..(defc|onst aut| |00000cb0| 6f 2d 73 61 76 65 2d 64 | 65 66 61 75 6c 74 20 74 |o-save-d|efault t| |00000cc0| 20 22 5c 0a 2a 74 20 73 | 61 79 73 20 62 79 20 64 | "\.*t s|ays by d| |00000cd0| 65 66 61 75 6c 74 20 64 | 6f 20 61 75 74 6f 2d 73 |efault d|o auto-s| |00000ce0| 61 76 69 6e 67 20 6f 66 | 20 65 76 65 72 79 20 66 |aving of| every f| |00000cf0| 69 6c 65 2d 76 69 73 69 | 74 69 6e 67 20 62 75 66 |ile-visi|ting buf| |00000d00| 66 65 72 2e 22 29 0a 0a | 28 64 65 66 63 6f 6e 73 |fer.")..|(defcons| |00000d10| 74 20 61 75 74 6f 2d 73 | 61 76 65 2d 76 69 73 69 |t auto-s|ave-visi| |00000d20| 74 65 64 2d 66 69 6c 65 | 2d 6e 61 6d 65 20 6e 69 |ted-file|-name ni| |00000d30| 6c 20 22 5c 0a 2a 74 20 | 73 61 79 73 20 61 75 74 |l "\.*t |says aut| |00000d40| 6f 2d 73 61 76 65 20 61 | 20 62 75 66 66 65 72 20 |o-save a| buffer | |00000d50| 69 6e 20 74 68 65 20 66 | 69 6c 65 20 69 74 20 69 |in the f|ile it i| |00000d60| 73 20 76 69 73 69 74 69 | 6e 67 2c 20 77 68 65 6e |s visiti|ng, when| |00000d70| 20 70 72 61 63 74 69 63 | 61 6c 2e 0a 4e 6f 72 6d | practic|al..Norm| |00000d80| 61 6c 6c 79 20 61 75 74 | 6f 2d 73 61 76 65 20 66 |ally aut|o-save f| |00000d90| 69 6c 65 73 20 61 72 65 | 20 77 72 69 74 74 65 6e |iles are| written| |00000da0| 20 75 6e 64 65 72 20 6f | 74 68 65 72 20 6e 61 6d | under o|ther nam| |00000db0| 65 73 2e 22 29 0a 0a 28 | 64 65 66 63 6f 6e 73 74 |es.")..(|defconst| |00000dc0| 20 73 61 76 65 2d 61 62 | 62 72 65 76 73 20 6e 69 | save-ab|brevs ni| |00000dd0| 6c 20 22 5c 0a 2a 4e 6f | 6e 2d 6e 69 6c 20 6d 65 |l "\.*No|n-nil me| |00000de0| 61 6e 73 20 73 61 76 65 | 20 77 6f 72 64 20 61 62 |ans save| word ab| |00000df0| 62 72 65 76 73 20 74 6f | 6f 20 77 68 65 6e 20 66 |brevs to|o when f| |00000e00| 69 6c 65 73 20 61 72 65 | 20 73 61 76 65 64 2e 0a |iles are| saved..| |00000e10| 4c 6f 61 64 69 6e 67 20 | 61 6e 20 61 62 62 72 65 |Loading |an abbre| |00000e20| 76 20 66 69 6c 65 20 73 | 65 74 73 20 74 68 69 73 |v file s|ets this| |00000e30| 20 74 6f 20 74 2e 22 29 | 0a 0a 28 64 65 66 63 6f | to t.")|..(defco| |00000e40| 6e 73 74 20 66 69 6e 64 | 2d 66 69 6c 65 2d 72 75 |nst find|-file-ru| |00000e50| 6e 2d 64 69 72 65 64 20 | 74 20 22 5c 0a 2a 4e 6f |n-dired |t "\.*No| |00000e60| 6e 2d 6e 69 6c 20 73 61 | 79 73 20 72 75 6e 20 64 |n-nil sa|ys run d| |00000e70| 69 72 65 64 20 69 66 20 | 66 69 6e 64 2d 66 69 6c |ired if |find-fil| |00000e80| 65 20 69 73 20 67 69 76 | 65 6e 20 74 68 65 20 6e |e is giv|en the n| |00000e90| 61 6d 65 20 6f 66 20 61 | 20 64 69 72 65 63 74 6f |ame of a| directo| |00000ea0| 72 79 2e 22 29 0a 0a 28 | 64 65 66 76 61 72 20 66 |ry.")..(|defvar f| |00000eb0| 69 6e 64 2d 66 69 6c 65 | 2d 6e 6f 74 2d 66 6f 75 |ind-file|-not-fou| |00000ec0| 6e 64 2d 68 6f 6f 6b 73 | 20 6e 69 6c 20 22 5c 0a |nd-hooks| nil "\.| |00000ed0| 4c 69 73 74 20 6f 66 20 | 66 75 6e 63 74 69 6f 6e |List of |function| |00000ee0| 73 20 74 6f 20 62 65 20 | 63 61 6c 6c 65 64 20 66 |s to be |called f| |00000ef0| 6f 72 20 66 69 6e 64 2d | 66 69 6c 65 20 6f 6e 20 |or find-|file on | |00000f00| 6e 6f 6e 65 78 69 73 74 | 65 6e 74 20 66 69 6c 65 |nonexist|ent file| |00000f10| 2e 0a 54 68 65 73 65 20 | 66 75 6e 63 74 69 6f 6e |..These |function| |00000f20| 73 20 61 72 65 20 63 61 | 6c 6c 65 64 20 61 73 20 |s are ca|lled as | |00000f30| 73 6f 6f 6e 20 61 73 20 | 74 68 65 20 65 72 72 6f |soon as |the erro| |00000f40| 72 20 69 73 20 64 65 74 | 65 63 74 65 64 2e 0a 62 |r is det|ected..b| |00000f50| 75 66 66 65 72 2d 66 69 | 6c 65 2d 6e 61 6d 65 20 |uffer-fi|le-name | |00000f60| 69 73 20 61 6c 72 65 61 | 64 79 20 73 65 74 20 75 |is alrea|dy set u| |00000f70| 70 2e 0a 54 68 65 20 66 | 75 6e 63 74 69 6f 6e 73 |p..The f|unctions| |00000f80| 20 61 72 65 20 63 61 6c | 6c 65 64 20 69 6e 20 74 | are cal|led in t| |00000f90| 68 65 20 6f 72 64 65 72 | 20 67 69 76 65 6e 2c 0a |he order| given,.| |00000fa0| 75 6e 74 69 6c 20 6f 6e | 65 20 6f 66 20 74 68 65 |until on|e of the| |00000fb0| 6d 20 72 65 74 75 72 6e | 73 20 6e 6f 6e 2d 6e 69 |m return|s non-ni| |00000fc0| 6c 2e 22 29 0a 0a 28 64 | 65 66 76 61 72 20 66 69 |l.")..(d|efvar fi| |00000fd0| 6e 64 2d 66 69 6c 65 2d | 68 6f 6f 6b 73 20 6e 69 |nd-file-|hooks ni| |00000fe0| 6c 20 22 5c 0a 4c 69 73 | 74 20 6f 66 20 66 75 6e |l "\.Lis|t of fun| |00000ff0| 63 74 69 6f 6e 73 20 74 | 6f 20 62 65 20 63 61 6c |ctions t|o be cal| |00001000| 6c 65 64 20 61 66 74 65 | 72 20 61 20 62 75 66 66 |led afte|r a buff| |00001010| 65 72 20 69 73 20 6c 6f | 61 64 65 64 20 66 72 6f |er is lo|aded fro| |00001020| 6d 20 61 20 66 69 6c 65 | 2e 0a 54 68 65 20 62 75 |m a file|..The bu| |00001030| 66 66 65 72 27 73 20 6c | 6f 63 61 6c 20 76 61 72 |ffer's l|ocal var| |00001040| 69 61 62 6c 65 73 20 28 | 69 66 20 61 6e 79 29 20 |iables (|if any) | |00001050| 77 69 6c 6c 20 68 61 76 | 65 20 62 65 65 6e 20 70 |will hav|e been p| |00001060| 72 6f 63 65 73 73 65 64 | 20 62 65 66 6f 72 65 20 |rocessed| before | |00001070| 74 68 65 0a 66 75 6e 63 | 74 69 6f 6e 73 20 61 72 |the.func|tions ar| |00001080| 65 20 63 61 6c 6c 65 64 | 2e 22 29 0a 0a 28 64 65 |e called|.")..(de| |00001090| 66 76 61 72 20 77 72 69 | 74 65 2d 66 69 6c 65 2d |fvar wri|te-file-| |000010a0| 68 6f 6f 6b 73 20 6e 69 | 6c 20 22 5c 0a 4c 69 73 |hooks ni|l "\.Lis| |000010b0| 74 20 6f 66 20 66 75 6e | 63 74 69 6f 6e 73 20 74 |t of fun|ctions t| |000010c0| 6f 20 62 65 20 63 61 6c | 6c 65 64 20 62 65 66 6f |o be cal|led befo| |000010d0| 72 65 20 77 72 69 74 69 | 6e 67 20 6f 75 74 20 61 |re writi|ng out a| |000010e0| 20 62 75 66 66 65 72 20 | 74 6f 20 61 20 66 69 6c | buffer |to a fil| |000010f0| 65 2e 0a 49 66 20 6f 6e | 65 20 6f 66 20 74 68 65 |e..If on|e of the| |00001100| 6d 20 72 65 74 75 72 6e | 73 20 6e 6f 6e 2d 6e 69 |m return|s non-ni| |00001110| 6c 2c 20 74 68 65 20 66 | 69 6c 65 20 69 73 20 63 |l, the f|ile is c| |00001120| 6f 6e 73 69 64 65 72 65 | 64 20 61 6c 72 65 61 64 |onsidere|d alread| |00001130| 79 20 77 72 69 74 74 65 | 6e 0a 61 6e 64 20 74 68 |y writte|n.and th| |00001140| 65 20 72 65 73 74 20 61 | 72 65 20 6e 6f 74 20 63 |e rest a|re not c| |00001150| 61 6c 6c 65 64 2e 22 29 | 0a 0a 28 64 65 66 63 6f |alled.")|..(defco| |00001160| 6e 73 74 20 69 6e 68 69 | 62 69 74 2d 6c 6f 63 61 |nst inhi|bit-loca| |00001170| 6c 2d 76 61 72 69 61 62 | 6c 65 73 20 6e 69 6c 20 |l-variab|les nil | |00001180| 22 5c 0a 2a 4e 6f 6e 2d | 6e 69 6c 20 6d 65 61 6e |"\.*Non-|nil mean| |00001190| 73 20 71 75 65 72 79 20 | 62 65 66 6f 72 65 20 6f |s query |before o| |000011a0| 62 65 79 69 6e 67 20 61 | 20 66 69 6c 65 27 73 20 |beying a| file's | |000011b0| 6c 6f 63 61 6c 2d 76 61 | 72 69 61 62 6c 65 73 20 |local-va|riables | |000011c0| 6c 69 73 74 2e 0a 54 68 | 69 73 20 61 70 70 6c 69 |list..Th|is appli| |000011d0| 65 73 20 77 68 65 6e 20 | 74 68 65 20 6c 6f 63 61 |es when |the loca| |000011e0| 6c 2d 76 61 72 69 61 62 | 6c 65 73 20 6c 69 73 74 |l-variab|les list| |000011f0| 20 69 73 20 73 63 61 6e | 6e 65 64 20 61 75 74 6f | is scan|ned auto| |00001200| 6d 61 74 69 63 61 6c 6c | 79 0a 61 66 74 65 72 20 |maticall|y.after | |00001210| 79 6f 75 20 66 69 6e 64 | 20 61 20 66 69 6c 65 2e |you find| a file.| |00001220| 20 20 49 66 20 79 6f 75 | 20 65 78 70 6c 69 63 69 | If you| explici| |00001230| 74 6c 79 20 72 65 71 75 | 65 73 74 20 73 75 63 68 |tly requ|est such| |00001240| 20 61 20 73 63 61 6e 20 | 77 69 74 68 0a 5c 5c 5b | a scan |with.\\[| |00001250| 6e 6f 72 6d 61 6c 2d 6d | 6f 64 65 5d 2c 20 74 68 |normal-m|ode], th| |00001260| 65 72 65 20 69 73 20 6e | 6f 20 71 75 65 72 79 2c |ere is n|o query,| |00001270| 20 72 65 67 61 72 64 6c | 65 73 73 20 6f 66 20 74 | regardl|ess of t| |00001280| 68 69 73 20 76 61 72 69 | 61 62 6c 65 2e 22 29 0a |his vari|able.").| |00001290| 0a 28 64 65 66 63 6f 6e | 73 74 20 69 67 6e 6f 72 |.(defcon|st ignor| |000012a0| 65 2d 6c 6f 63 61 6c 2d | 65 76 61 6c 20 6e 69 6c |e-local-|eval nil| |000012b0| 20 22 5c 0a 2a 4e 6f 6e | 2d 6e 69 6c 20 6d 65 61 | "\.*Non|-nil mea| |000012c0| 6e 73 20 69 67 6e 6f 72 | 65 20 74 68 65 20 5c 22 |ns ignor|e the \"| |000012d0| 76 61 72 69 61 62 6c 65 | 5c 22 20 60 65 76 61 6c |variable|\" `eval| |000012e0| 27 20 69 6e 20 61 20 66 | 69 6c 65 27 73 20 6c 6f |' in a f|ile's lo| |000012f0| 63 61 6c 20 76 61 72 69 | 61 62 6c 65 73 2e 0a 54 |cal vari|ables..T| |00001300| 68 69 73 20 61 70 70 6c | 69 65 73 20 77 68 65 6e |his appl|ies when| |00001310| 20 74 68 65 20 6c 6f 63 | 61 6c 2d 76 61 72 69 61 | the loc|al-varia| |00001320| 62 6c 65 73 20 6c 69 73 | 74 20 69 73 20 73 63 61 |bles lis|t is sca| |00001330| 6e 6e 65 64 20 61 75 74 | 6f 6d 61 74 69 63 61 6c |nned aut|omatical| |00001340| 6c 79 0a 61 66 74 65 72 | 20 79 6f 75 20 66 69 6e |ly.after| you fin| |00001350| 64 20 61 20 66 69 6c 65 | 2e 20 20 49 66 20 79 6f |d a file|. If yo| |00001360| 75 20 65 78 70 6c 69 63 | 69 74 6c 79 20 72 65 71 |u explic|itly req| |00001370| 75 65 73 74 20 73 75 63 | 68 20 61 20 73 63 61 6e |uest suc|h a scan| |00001380| 20 77 69 74 68 0a 5c 5c | 5b 6e 6f 72 6d 61 6c 2d | with.\\|[normal-| |00001390| 6d 6f 64 65 5d 2c 20 74 | 68 65 72 65 20 69 73 20 |mode], t|here is | |000013a0| 6e 6f 20 71 75 65 72 79 | 2c 20 72 65 67 61 72 64 |no query|, regard| |000013b0| 6c 65 73 73 20 6f 66 20 | 74 68 69 73 20 76 61 72 |less of |this var| |000013c0| 69 61 62 6c 65 2e 22 29 | 0a 0a 28 6f 72 20 28 66 |iable.")|..(or (f| |000013d0| 62 6f 75 6e 64 70 20 28 | 71 75 6f 74 65 20 6c 6f |boundp (|quote lo| |000013e0| 63 6b 2d 62 75 66 66 65 | 72 29 29 20 28 66 73 65 |ck-buffe|r)) (fse| |000013f0| 74 20 28 71 75 6f 74 65 | 20 6c 6f 63 6b 2d 62 75 |t (quote| lock-bu| |00001400| 66 66 65 72 29 20 28 71 | 75 6f 74 65 20 69 67 6e |ffer) (q|uote ign| |00001410| 6f 72 65 29 29 29 0a 0a | 28 6f 72 20 28 66 62 6f |ore)))..|(or (fbo| |00001420| 75 6e 64 70 20 28 71 75 | 6f 74 65 20 75 6e 6c 6f |undp (qu|ote unlo| |00001430| 63 6b 2d 62 75 66 66 65 | 72 29 29 20 28 66 73 65 |ck-buffe|r)) (fse| |00001440| 74 20 28 71 75 6f 74 65 | 20 75 6e 6c 6f 63 6b 2d |t (quote| unlock-| |00001450| 62 75 66 66 65 72 29 20 | 28 71 75 6f 74 65 20 69 |buffer) |(quote i| |00001460| 67 6e 6f 72 65 29 29 29 | 0a 0a 28 64 65 66 75 6e |gnore)))|..(defun| |00001470| 20 70 77 64 20 6e 69 6c | 20 22 5c 0a 53 68 6f 77 | pwd nil| "\.Show| |00001480| 20 74 68 65 20 63 75 72 | 72 65 6e 74 20 64 65 66 | the cur|rent def| |00001490| 61 75 6c 74 20 64 69 72 | 65 63 74 6f 72 79 2e 22 |ault dir|ectory."| |000014a0| 20 28 69 6e 74 65 72 61 | 63 74 69 76 65 20 6e 69 | (intera|ctive ni| |000014b0| 6c 29 20 28 62 79 74 65 | 2d 63 6f 64 65 20 22 c0 |l) (byte|-code ".| |000014c0| 88 c2 c3 09 5c 22 87 22 | 20 5b 6e 69 6c 20 64 65 |....\"."| [nil de| |000014d0| 66 61 75 6c 74 2d 64 69 | 72 65 63 74 6f 72 79 20 |fault-di|rectory | |000014e0| 6d 65 73 73 61 67 65 20 | 22 44 69 72 65 63 74 6f |message |"Directo| |000014f0| 72 79 20 25 73 22 5d 20 | 33 29 29 0a 0a 28 64 65 |ry %s"] |3))..(de| |00001500| 66 75 6e 20 63 64 20 28 | 64 69 72 29 20 22 5c 0a |fun cd (|dir) "\.| |00001510| 4d 61 6b 65 20 44 49 52 | 20 62 65 63 6f 6d 65 20 |Make DIR| become | |00001520| 74 68 65 20 63 75 72 72 | 65 6e 74 20 62 75 66 66 |the curr|ent buff| |00001530| 65 72 27 73 20 64 65 66 | 61 75 6c 74 20 64 69 72 |er's def|ault dir| |00001540| 65 63 74 6f 72 79 2e 22 | 20 28 69 6e 74 65 72 61 |ectory."| (intera| |00001550| 63 74 69 76 65 20 22 44 | 43 68 61 6e 67 65 20 64 |ctive "D|Change d| |00001560| 65 66 61 75 6c 74 20 64 | 69 72 65 63 74 6f 72 79 |efault d|irectory| |00001570| 3a 20 22 29 20 28 62 79 | 74 65 2d 63 6f 64 65 20 |: ") (by|te-code | |00001580| 22 c3 88 c4 08 21 89 10 | 88 09 c5 3d 3f 85 14 00 |"....!..|...=?...| |00001590| c6 08 21 89 10 88 c7 08 | 21 3f 83 23 00 c8 c9 08 |..!.....|!?.#....| |000015a0| 5c 22 82 26 00 08 89 12 | 88 ca 20 87 22 20 5b 64 |\".&....|.. ." [d| |000015b0| 69 72 20 73 79 73 74 65 | 6d 2d 74 79 70 65 20 64 |ir syste|m-type d| |000015c0| 65 66 61 75 6c 74 2d 64 | 69 72 65 63 74 6f 72 79 |efault-d|irectory| |000015d0| 20 6e 69 6c 20 65 78 70 | 61 6e 64 2d 66 69 6c 65 | nil exp|and-file| |000015e0| 2d 6e 61 6d 65 20 76 61 | 78 2d 76 6d 73 20 66 69 |-name va|x-vms fi| |000015f0| 6c 65 2d 6e 61 6d 65 2d | 61 73 2d 64 69 72 65 63 |le-name-|as-direc| |00001600| 74 6f 72 79 20 66 69 6c | 65 2d 64 69 72 65 63 74 |tory fil|e-direct| |00001610| 6f 72 79 2d 70 20 65 72 | 72 6f 72 20 22 25 73 20 |ory-p er|ror "%s | |00001620| 69 73 20 6e 6f 74 20 61 | 20 64 69 72 65 63 74 6f |is not a| directo| |00001630| 72 79 22 20 70 77 64 5d | 20 36 29 29 0a 0a 28 64 |ry" pwd]| 6))..(d| |00001640| 65 66 75 6e 20 6c 6f 61 | 64 2d 66 69 6c 65 20 28 |efun loa|d-file (| |00001650| 66 69 6c 65 29 20 22 5c | 0a 4c 6f 61 64 20 74 68 |file) "\|.Load th| |00001660| 65 20 66 69 6c 65 20 46 | 49 4c 45 20 6f 66 20 4c |e file F|ILE of L| |00001670| 69 73 70 20 63 6f 64 65 | 2e 22 20 28 69 6e 74 65 |isp code|." (inte| |00001680| 72 61 63 74 69 76 65 20 | 22 66 4c 6f 61 64 20 66 |ractive |"fLoad f| |00001690| 69 6c 65 3a 20 22 29 20 | 28 62 79 74 65 2d 63 6f |ile: ") |(byte-co| |000016a0| 64 65 20 22 c1 88 c3 c4 | 08 21 c1 c1 c2 24 87 22 |de "....|.!...$."| |000016b0| 20 5b 66 69 6c 65 20 6e | 69 6c 20 74 20 6c 6f 61 | [file n|il t loa| |000016c0| 64 20 65 78 70 61 6e 64 | 2d 66 69 6c 65 2d 6e 61 |d expand|-file-na| |000016d0| 6d 65 5d 20 36 29 29 0a | 0a 28 64 65 66 75 6e 20 |me] 6)).|.(defun | |000016e0| 6c 6f 61 64 2d 6c 69 62 | 72 61 72 79 20 28 6c 69 |load-lib|rary (li| |000016f0| 62 72 61 72 79 29 20 22 | 5c 0a 4c 6f 61 64 20 74 |brary) "|\.Load t| |00001700| 68 65 20 6c 69 62 72 61 | 72 79 20 6e 61 6d 65 64 |he libra|ry named| |00001710| 20 4c 49 42 52 41 52 59 | 2e 0a 54 68 69 73 20 69 | LIBRARY|..This i| |00001720| 73 20 61 6e 20 69 6e 74 | 65 72 66 61 63 65 20 74 |s an int|erface t| |00001730| 6f 20 74 68 65 20 66 75 | 6e 63 74 69 6f 6e 20 60 |o the fu|nction `| |00001740| 6c 6f 61 64 27 2e 22 20 | 28 69 6e 74 65 72 61 63 |load'." |(interac| |00001750| 74 69 76 65 20 22 73 4c | 6f 61 64 20 6c 69 62 72 |tive "sL|oad libr| |00001760| 61 72 79 3a 20 22 29 20 | 28 62 79 74 65 2d 63 6f |ary: ") |(byte-co| |00001770| 64 65 20 22 c1 88 c2 08 | 21 87 22 20 5b 6c 69 62 |de "....|!." [lib| |00001780| 72 61 72 79 20 6e 69 6c | 20 6c 6f 61 64 5d 20 32 |rary nil| load] 2| |00001790| 29 29 0a 0a 28 64 65 66 | 75 6e 20 73 77 69 74 63 |))..(def|un switc| |000017a0| 68 2d 74 6f 2d 62 75 66 | 66 65 72 2d 6f 74 68 65 |h-to-buf|fer-othe| |000017b0| 72 2d 77 69 6e 64 6f 77 | 20 28 62 75 66 66 65 72 |r-window| (buffer| |000017c0| 29 20 22 5c 0a 53 65 6c | 65 63 74 20 62 75 66 66 |) "\.Sel|ect buff| |000017d0| 65 72 20 42 55 46 46 45 | 52 20 69 6e 20 61 6e 6f |er BUFFE|R in ano| |000017e0| 74 68 65 72 20 77 69 6e | 64 6f 77 2e 22 20 28 69 |ther win|dow." (i| |000017f0| 6e 74 65 72 61 63 74 69 | 76 65 20 22 42 53 77 69 |nteracti|ve "BSwi| |00001800| 74 63 68 20 74 6f 20 62 | 75 66 66 65 72 20 69 6e |tch to b|uffer in| |00001810| 20 6f 74 68 65 72 20 77 | 69 6e 64 6f 77 3a 20 22 | other w|indow: "| |00001820| 29 20 28 62 79 74 65 2d | 63 6f 64 65 20 22 c3 88 |) (byte-|code "..| |00001830| c1 18 c4 0a c1 5c 22 29 | 87 22 20 5b 70 6f 70 2d |.....\")|." [pop-| |00001840| 75 70 2d 77 69 6e 64 6f | 77 73 20 74 20 62 75 66 |up-windo|ws t buf| |00001850| 66 65 72 20 6e 69 6c 20 | 70 6f 70 2d 74 6f 2d 62 |fer nil |pop-to-b| |00001860| 75 66 66 65 72 5d 20 33 | 29 29 0a 0a 28 64 65 66 |uffer] 3|))..(def| |00001870| 75 6e 20 66 69 6e 64 2d | 66 69 6c 65 20 28 66 69 |un find-|file (fi| |00001880| 6c 65 6e 61 6d 65 29 20 | 22 5c 0a 45 64 69 74 20 |lename) |"\.Edit | |00001890| 66 69 6c 65 20 46 49 4c | 45 4e 41 4d 45 2e 0a 53 |file FIL|ENAME..S| |000018a0| 77 69 74 63 68 20 74 6f | 20 61 20 62 75 66 66 65 |witch to| a buffe| |000018b0| 72 20 76 69 73 69 74 69 | 6e 67 20 66 69 6c 65 20 |r visiti|ng file | |000018c0| 46 49 4c 45 4e 41 4d 45 | 2c 0a 63 72 65 61 74 69 |FILENAME|,.creati| |000018d0| 6e 67 20 6f 6e 65 20 69 | 66 20 6e 6f 6e 65 20 61 |ng one i|f none a| |000018e0| 6c 72 65 61 64 79 20 65 | 78 69 73 74 73 2e 22 20 |lready e|xists." | |000018f0| 28 69 6e 74 65 72 61 63 | 74 69 76 65 20 22 46 46 |(interac|tive "FF| |00001900| 69 6e 64 20 66 69 6c 65 | 3a 20 22 29 20 28 62 79 |ind file|: ") (by| |00001910| 74 65 2d 63 6f 64 65 20 | 22 c1 88 c2 c3 08 21 21 |te-code |".....!!| |00001920| 87 22 20 5b 66 69 6c 65 | 6e 61 6d 65 20 6e 69 6c |." [file|name nil| |00001930| 20 73 77 69 74 63 68 2d | 74 6f 2d 62 75 66 66 65 | switch-|to-buffe| |00001940| 72 20 66 69 6e 64 2d 66 | 69 6c 65 2d 6e 6f 73 65 |r find-f|ile-nose| |00001950| 6c 65 63 74 5d 20 33 29 | 29 0a 0a 28 64 65 66 75 |lect] 3)|)..(defu| |00001960| 6e 20 66 69 6e 64 2d 66 | 69 6c 65 2d 6f 74 68 65 |n find-f|ile-othe| |00001970| 72 2d 77 69 6e 64 6f 77 | 20 28 66 69 6c 65 6e 61 |r-window| (filena| |00001980| 6d 65 29 20 22 5c 0a 45 | 64 69 74 20 66 69 6c 65 |me) "\.E|dit file| |00001990| 20 46 49 4c 45 4e 41 4d | 45 2c 20 69 6e 20 61 6e | FILENAM|E, in an| |000019a0| 6f 74 68 65 72 20 77 69 | 6e 64 6f 77 2e 0a 4d 61 |other wi|ndow..Ma| |000019b0| 79 20 63 72 65 61 74 65 | 20 61 20 6e 65 77 20 77 |y create| a new w| |000019c0| 69 6e 64 6f 77 2c 20 6f | 72 20 72 65 75 73 65 20 |indow, o|r reuse | |000019d0| 61 6e 20 65 78 69 73 74 | 69 6e 67 20 6f 6e 65 3b |an exist|ing one;| |000019e0| 0a 73 65 65 20 74 68 65 | 20 66 75 6e 63 74 69 6f |.see the| functio| |000019f0| 6e 20 64 69 73 70 6c 61 | 79 2d 62 75 66 66 65 72 |n displa|y-buffer| |00001a00| 2e 22 20 28 69 6e 74 65 | 72 61 63 74 69 76 65 20 |." (inte|ractive | |00001a10| 22 46 46 69 6e 64 20 66 | 69 6c 65 20 69 6e 20 6f |"FFind f|ile in o| |00001a20| 74 68 65 72 20 77 69 6e | 64 6f 77 3a 20 22 29 20 |ther win|dow: ") | |00001a30| 28 62 79 74 65 2d 63 6f | 64 65 20 22 c1 88 c2 c3 |(byte-co|de "....| |00001a40| 08 21 21 87 22 20 5b 66 | 69 6c 65 6e 61 6d 65 20 |.!!." [f|ilename | |00001a50| 6e 69 6c 20 73 77 69 74 | 63 68 2d 74 6f 2d 62 75 |nil swit|ch-to-bu| |00001a60| 66 66 65 72 2d 6f 74 68 | 65 72 2d 77 69 6e 64 6f |ffer-oth|er-windo| |00001a70| 77 20 66 69 6e 64 2d 66 | 69 6c 65 2d 6e 6f 73 65 |w find-f|ile-nose| |00001a80| 6c 65 63 74 5d 20 33 29 | 29 0a 0a 28 64 65 66 75 |lect] 3)|)..(defu| |00001a90| 6e 20 66 69 6e 64 2d 66 | 69 6c 65 2d 72 65 61 64 |n find-f|ile-read| |00001aa0| 2d 6f 6e 6c 79 20 28 66 | 69 6c 65 6e 61 6d 65 29 |-only (f|ilename)| |00001ab0| 20 22 5c 0a 45 64 69 74 | 20 66 69 6c 65 20 46 49 | "\.Edit| file FI| |00001ac0| 4c 45 4e 41 4d 45 20 62 | 75 74 20 64 6f 6e 27 74 |LENAME b|ut don't| |00001ad0| 20 73 61 76 65 20 77 69 | 74 68 6f 75 74 20 63 6f | save wi|thout co| |00001ae0| 6e 66 69 72 6d 61 74 69 | 6f 6e 2e 0a 4c 69 6b 65 |nfirmati|on..Like| |00001af0| 20 66 69 6e 64 2d 66 69 | 6c 65 20 62 75 74 20 6d | find-fi|le but m| |00001b00| 61 72 6b 73 20 62 75 66 | 66 65 72 20 61 73 20 72 |arks buf|fer as r| |00001b10| 65 61 64 2d 6f 6e 6c 79 | 2e 22 20 28 69 6e 74 65 |ead-only|." (inte| |00001b20| 72 61 63 74 69 76 65 20 | 22 66 46 69 6e 64 20 66 |ractive |"fFind f| |00001b30| 69 6c 65 20 72 65 61 64 | 2d 6f 6e 6c 79 3a 20 22 |ile read|-only: "| |00001b40| 29 20 28 62 79 74 65 2d | 63 6f 64 65 20 22 c3 88 |) (byte-|code "..| |00001b50| c4 08 21 88 c2 89 11 87 | 22 20 5b 66 69 6c 65 6e |..!.....|" [filen| |00001b60| 61 6d 65 20 62 75 66 66 | 65 72 2d 72 65 61 64 2d |ame buff|er-read-| |00001b70| 6f 6e 6c 79 20 74 20 6e | 69 6c 20 66 69 6e 64 2d |only t n|il find-| |00001b80| 66 69 6c 65 5d 20 33 29 | 29 0a 0a 28 64 65 66 75 |file] 3)|)..(defu| |00001b90| 6e 20 66 69 6e 64 2d 61 | 6c 74 65 72 6e 61 74 65 |n find-a|lternate| |00001ba0| 2d 66 69 6c 65 20 28 66 | 69 6c 65 6e 61 6d 65 29 |-file (f|ilename)| |00001bb0| 20 22 5c 0a 46 69 6e 64 | 20 66 69 6c 65 20 46 49 | "\.Find| file FI| |00001bc0| 4c 45 4e 41 4d 45 2c 20 | 73 65 6c 65 63 74 20 69 |LENAME, |select i| |00001bd0| 74 73 20 62 75 66 66 65 | 72 2c 20 6b 69 6c 6c 20 |ts buffe|r, kill | |00001be0| 70 72 65 76 69 6f 75 73 | 20 62 75 66 66 65 72 2e |previous| buffer.| |00001bf0| 0a 49 66 20 74 68 65 20 | 63 75 72 72 65 6e 74 20 |.If the |current | |00001c00| 62 75 66 66 65 72 20 6e | 6f 77 20 63 6f 6e 74 61 |buffer n|ow conta| |00001c10| 69 6e 73 20 61 6e 20 65 | 6d 70 74 79 20 66 69 6c |ins an e|mpty fil| |00001c20| 65 20 74 68 61 74 20 79 | 6f 75 20 6a 75 73 74 20 |e that y|ou just | |00001c30| 76 69 73 69 74 65 64 0a | 28 70 72 65 73 75 6d 61 |visited.|(presuma| |00001c40| 62 6c 79 20 62 79 20 6d | 69 73 74 61 6b 65 29 2c |bly by m|istake),| |00001c50| 20 75 73 65 20 74 68 69 | 73 20 63 6f 6d 6d 61 6e | use thi|s comman| |00001c60| 64 20 74 6f 20 76 69 73 | 69 74 20 74 68 65 20 66 |d to vis|it the f| |00001c70| 69 6c 65 20 79 6f 75 20 | 72 65 61 6c 6c 79 20 77 |ile you |really w| |00001c80| 61 6e 74 2e 22 20 28 69 | 6e 74 65 72 61 63 74 69 |ant." (i|nteracti| |00001c90| 76 65 20 22 46 46 69 6e | 64 20 61 6c 74 65 72 6e |ve "FFin|d altern| |00001ca0| 61 74 65 20 66 69 6c 65 | 3a 20 22 29 20 28 62 79 |ate file|: ") (by| |00001cb0| 74 65 2d 63 6f 64 65 20 | 22 c4 88 c6 20 85 15 00 |te-code |"... ...| |00001cc0| c7 c8 c9 ca 20 5c 22 21 | 3f 85 15 00 cb cc 21 88 |.... \"!|?.....!.| |00001cd0| 70 0a ca 20 1b 19 18 cd | ce 21 88 c4 89 12 88 cf |p.. ....|.!......| |00001ce0| 8e d0 20 88 d1 0d 21 29 | 88 08 70 3d 86 38 00 d2 |.. ...!)|..p=.8..| |00001cf0| 08 21 2b 87 22 20 5b 6f | 62 75 66 20 6f 66 69 6c |.!+." [o|buf ofil| |00001d00| 65 20 62 75 66 66 65 72 | 2d 66 69 6c 65 2d 6e 61 |e buffer|-file-na| |00001d10| 6d 65 20 6f 6e 61 6d 65 | 20 6e 69 6c 20 66 69 6c |me oname| nil fil| |00001d20| 65 6e 61 6d 65 20 62 75 | 66 66 65 72 2d 6d 6f 64 |ename bu|ffer-mod| |00001d30| 69 66 69 65 64 2d 70 20 | 79 65 73 2d 6f 72 2d 6e |ified-p |yes-or-n| |00001d40| 6f 2d 70 20 66 6f 72 6d | 61 74 20 22 42 75 66 66 |o-p form|at "Buff| |00001d50| 65 72 20 25 73 20 69 73 | 20 6d 6f 64 69 66 69 65 |er %s is| modifie| |00001d60| 64 3b 20 6b 69 6c 6c 20 | 61 6e 79 77 61 79 3f 20 |d; kill |anyway? | |00001d70| 22 20 62 75 66 66 65 72 | 2d 6e 61 6d 65 20 65 72 |" buffer|-name er| |00001d80| 72 6f 72 20 22 41 62 6f | 72 74 65 64 22 20 72 65 |ror "Abo|rted" re| |00001d90| 6e 61 6d 65 2d 62 75 66 | 66 65 72 20 22 20 2a 2a |name-buf|fer " **| |00001da0| 6c 6f 73 65 2a 2a 22 20 | 28 28 62 79 74 65 2d 63 |lose**" |((byte-c| |00001db0| 6f 64 65 20 22 08 70 3d | 85 10 00 0a 89 11 88 c4 |ode ".p=|........| |00001dc0| 20 88 c5 0b 21 87 22 20 | 5b 6f 62 75 66 20 62 75 | ...!." |[obuf bu| |00001dd0| 66 66 65 72 2d 66 69 6c | 65 2d 6e 61 6d 65 20 6f |ffer-fil|e-name o| |00001de0| 66 69 6c 65 20 6f 6e 61 | 6d 65 20 6c 6f 63 6b 2d |file ona|me lock-| |00001df0| 62 75 66 66 65 72 20 72 | 65 6e 61 6d 65 2d 62 75 |buffer r|ename-bu| |00001e00| 66 66 65 72 5d 20 33 29 | 29 20 75 6e 6c 6f 63 6b |ffer] 3)|) unlock| |00001e10| 2d 62 75 66 66 65 72 20 | 66 69 6e 64 2d 66 69 6c |-buffer |find-fil| |00001e20| 65 20 6b 69 6c 6c 2d 62 | 75 66 66 65 72 5d 20 31 |e kill-b|uffer] 1| |00001e30| 31 29 29 0a 0a 28 64 65 | 66 75 6e 20 63 72 65 61 |1))..(de|fun crea| |00001e40| 74 65 2d 66 69 6c 65 2d | 62 75 66 66 65 72 20 28 |te-file-|buffer (| |00001e50| 66 69 6c 65 6e 61 6d 65 | 29 20 22 5c 0a 43 72 65 |filename|) "\.Cre| |00001e60| 61 74 65 20 61 20 73 75 | 69 74 61 62 6c 79 20 6e |ate a su|itably n| |00001e70| 61 6d 65 64 20 62 75 66 | 66 65 72 20 66 6f 72 20 |amed buf|fer for | |00001e80| 76 69 73 69 74 69 6e 67 | 20 46 49 4c 45 4e 41 4d |visiting| FILENAM| |00001e90| 45 2c 20 61 6e 64 20 72 | 65 74 75 72 6e 20 69 74 |E, and r|eturn it| |00001ea0| 2e 0a 46 49 4c 45 4e 41 | 4d 45 20 28 73 61 6e 73 |..FILENA|ME (sans| |00001eb0| 20 64 69 72 65 63 74 6f | 72 79 29 20 69 73 20 75 | directo|ry) is u| |00001ec0| 73 65 64 20 75 6e 63 68 | 61 6e 67 65 64 20 69 66 |sed unch|anged if| |00001ed0| 20 74 68 61 74 20 6e 61 | 6d 65 20 69 73 20 66 72 | that na|me is fr| |00001ee0| 65 65 3b 0a 6f 74 68 65 | 72 77 69 73 65 20 61 20 |ee;.othe|rwise a | |00001ef0| 73 74 72 69 6e 67 20 3c | 32 3e 20 6f 72 20 3c 33 |string <|2> or <3| |00001f00| 3e 20 6f 72 20 2e 2e 2e | 20 69 73 20 61 70 70 65 |> or ...| is appe| |00001f10| 6e 64 65 64 20 74 6f 20 | 67 65 74 20 61 6e 20 75 |nded to |get an u| |00001f20| 6e 75 73 65 64 20 6e 61 | 6d 65 2e 22 20 28 62 79 |nused na|me." (by| |00001f30| 74 65 2d 63 6f 64 65 20 | 22 c2 09 21 18 c3 08 c4 |te-code |"..!....| |00001f40| 5c 22 85 0e 00 09 89 10 | 88 c5 08 21 29 87 22 20 |\"......|...!)." | |00001f50| 5b 6c 61 73 74 6e 61 6d | 65 20 66 69 6c 65 6e 61 |[lastnam|e filena| |00001f60| 6d 65 20 66 69 6c 65 2d | 6e 61 6d 65 2d 6e 6f 6e |me file-|name-non| |00001f70| 64 69 72 65 63 74 6f 72 | 79 20 73 74 72 69 6e 67 |director|y string| |00001f80| 3d 20 22 22 20 67 65 6e | 65 72 61 74 65 2d 6e 65 |= "" gen|erate-ne| |00001f90| 77 2d 62 75 66 66 65 72 | 5d 20 34 29 29 0a 0a 28 |w-buffer|] 4))..(| |00001fa0| 64 65 66 63 6f 6e 73 74 | 20 61 75 74 6f 6d 6f 75 |defconst| automou| |00001fb0| 6e 74 2d 64 69 72 2d 70 | 72 65 66 69 78 20 22 5e |nt-dir-p|refix "^| |00001fc0| 2f 74 6d 70 5f 6d 6e 74 | 2f 22 20 22 5c 0a 52 65 |/tmp_mnt|/" "\.Re| |00001fd0| 67 65 78 70 20 74 6f 20 | 6d 61 74 63 68 20 74 68 |gexp to |match th| |00001fe0| 65 20 61 75 74 6f 6d 6f | 75 6e 74 65 72 20 70 72 |e automo|unter pr| |00001ff0| 65 66 69 78 20 69 6e 20 | 61 20 64 69 72 65 63 74 |efix in |a direct| |00002000| 6f 72 79 20 6e 61 6d 65 | 2e 22 29 0a 0a 28 64 65 |ory name|.")..(de| |00002010| 66 75 6e 20 66 69 6e 64 | 2d 66 69 6c 65 2d 6e 6f |fun find|-file-no| |00002020| 73 65 6c 65 63 74 20 28 | 66 69 6c 65 6e 61 6d 65 |select (|filename| |00002030| 20 26 6f 70 74 69 6f 6e | 61 6c 20 6e 6f 77 61 72 | &option|al nowar| |00002040| 6e 29 20 22 5c 0a 52 65 | 61 64 20 66 69 6c 65 20 |n) "\.Re|ad file | |00002050| 46 49 4c 45 4e 41 4d 45 | 20 69 6e 74 6f 20 61 20 |FILENAME| into a | |00002060| 62 75 66 66 65 72 20 61 | 6e 64 20 72 65 74 75 72 |buffer a|nd retur| |00002070| 6e 20 74 68 65 20 62 75 | 66 66 65 72 2e 0a 49 66 |n the bu|ffer..If| |00002080| 20 61 20 62 75 66 66 65 | 72 20 65 78 69 73 74 73 | a buffe|r exists| |00002090| 20 76 69 73 69 74 69 6e | 67 20 46 49 4c 45 4e 41 | visitin|g FILENA| |000020a0| 4d 45 2c 20 72 65 74 75 | 72 6e 20 74 68 61 74 20 |ME, retu|rn that | |000020b0| 6f 6e 65 2c 0a 62 75 74 | 20 76 65 72 69 66 79 20 |one,.but| verify | |000020c0| 74 68 61 74 20 74 68 65 | 20 66 69 6c 65 20 68 61 |that the| file ha| |000020d0| 73 20 6e 6f 74 20 63 68 | 61 6e 67 65 64 20 73 69 |s not ch|anged si| |000020e0| 6e 63 65 20 76 69 73 69 | 74 65 64 20 6f 72 20 73 |nce visi|ted or s| |000020f0| 61 76 65 64 2e 0a 54 68 | 65 20 62 75 66 66 65 72 |aved..Th|e buffer| |00002100| 20 69 73 20 6e 6f 74 20 | 73 65 6c 65 63 74 65 64 | is not |selected| |00002110| 2c 20 6a 75 73 74 20 72 | 65 74 75 72 6e 65 64 20 |, just r|eturned | |00002120| 74 6f 20 74 68 65 20 63 | 61 6c 6c 65 72 2e 22 20 |to the c|aller." | |00002130| 28 62 79 74 65 2d 63 6f | 64 65 20 22 c8 08 21 89 |(byte-co|de "..!.| |00002140| 10 88 c9 09 08 5c 22 85 | 18 00 ca cb 08 cc cd 21 |.....\".|.......!| |00002150| 53 ce 4f 21 21 85 24 00 | 08 cc cd 21 53 ce 4f 89 |S.O!!.$.|...!S.O.| |00002160| 10 88 cf 08 21 83 3c 00 | 0a 83 35 00 d0 08 21 82 |....!.<.|..5...!.| |00002170| 39 00 c4 d1 08 5c 22 82 | 9c 00 d2 08 21 ce 1c 1b |9....\".|....!...| |00002180| 0b 83 7a 00 0d 86 77 00 | d3 0b 21 86 77 00 ca 08 |..z...w.|..!.w...| |00002190| 21 3f 83 5e 00 c4 d4 08 | 5c 22 82 77 00 d5 d6 0b |!?.^....|\".w....| |000021a0| 21 83 69 00 d7 82 6a 00 | d8 21 85 77 00 8a 0b 71 |!.i...j.|.!.w...q| |000021b0| 88 d9 c6 c6 5c 22 29 82 | 99 00 8a da 08 21 89 13 |....\").|.....!..| |000021c0| 88 0b 71 88 db 20 88 ce | dc dd 8f 88 cb 08 21 89 |..q.. ..|......!.| |000021d0| 16 07 88 de 0c 0d 3f 5c | 22 29 88 0b 2a 87 22 20 |......?\|")..*." | |000021e0| 5b 66 69 6c 65 6e 61 6d | 65 20 61 75 74 6f 6d 6f |[filenam|e automo| |000021f0| 75 6e 74 2d 64 69 72 2d | 70 72 65 66 69 78 20 66 |unt-dir-|prefix f| |00002200| 69 6e 64 2d 66 69 6c 65 | 2d 72 75 6e 2d 64 69 72 |ind-file|-run-dir| |00002210| 65 64 20 62 75 66 20 65 | 72 72 6f 72 20 6e 6f 77 |ed buf e|rror now| |00002220| 61 72 6e 20 74 20 64 65 | 66 61 75 6c 74 2d 64 69 |arn t de|fault-di| |00002230| 72 65 63 74 6f 72 79 20 | 65 78 70 61 6e 64 2d 66 |rectory |expand-f| |00002240| 69 6c 65 2d 6e 61 6d 65 | 20 73 74 72 69 6e 67 2d |ile-name| string-| |00002250| 6d 61 74 63 68 20 66 69 | 6c 65 2d 65 78 69 73 74 |match fi|le-exist| |00002260| 73 2d 70 20 66 69 6c 65 | 2d 6e 61 6d 65 2d 64 69 |s-p file|-name-di| |00002270| 72 65 63 74 6f 72 79 20 | 6d 61 74 63 68 2d 65 6e |rectory |match-en| |00002280| 64 20 30 20 6e 69 6c 20 | 66 69 6c 65 2d 64 69 72 |d 0 nil |file-dir| |00002290| 65 63 74 6f 72 79 2d 70 | 20 64 69 72 65 64 2d 6e |ectory-p| dired-n| |000022a0| 6f 73 65 6c 65 63 74 20 | 22 25 73 20 69 73 20 61 |oselect |"%s is a| |000022b0| 20 64 69 72 65 63 74 6f | 72 79 2e 22 20 67 65 74 | directo|ry." get| |000022c0| 2d 66 69 6c 65 2d 62 75 | 66 66 65 72 20 76 65 72 |-file-bu|ffer ver| |000022d0| 69 66 79 2d 76 69 73 69 | 74 65 64 2d 66 69 6c 65 |ify-visi|ted-file| |000022e0| 2d 6d 6f 64 74 69 6d 65 | 20 22 46 69 6c 65 20 25 |-modtime| "File %| |000022f0| 73 20 6e 6f 20 6c 6f 6e | 67 65 72 20 65 78 69 73 |s no lon|ger exis| |00002300| 74 73 21 22 20 79 65 73 | 2d 6f 72 2d 6e 6f 2d 70 |ts!" yes|-or-no-p| |00002310| 20 62 75 66 66 65 72 2d | 6d 6f 64 69 66 69 65 64 | buffer-|modified| |00002320| 2d 70 20 22 46 69 6c 65 | 20 68 61 73 20 63 68 61 |-p "File| has cha| |00002330| 6e 67 65 64 20 73 69 6e | 63 65 20 6c 61 73 74 20 |nged sin|ce last | |00002340| 76 69 73 69 74 65 64 20 | 6f 72 20 73 61 76 65 64 |visited |or saved| |00002350| 2e 20 20 46 6c 75 73 68 | 20 79 6f 75 72 20 63 68 |. Flush| your ch| |00002360| 61 6e 67 65 73 3f 20 22 | 20 22 46 69 6c 65 20 68 |anges? "| "File h| |00002370| 61 73 20 63 68 61 6e 67 | 65 64 20 73 69 6e 63 65 |as chang|ed since| |00002380| 20 6c 61 73 74 20 76 69 | 73 69 74 65 64 20 6f 72 | last vi|sited or| |00002390| 20 73 61 76 65 64 2e 20 | 20 52 65 61 64 20 66 72 | saved. | Read fr| |000023a0| 6f 6d 20 64 69 73 6b 3f | 20 22 20 72 65 76 65 72 |om disk?| " rever| |000023b0| 74 2d 62 75 66 66 65 72 | 20 63 72 65 61 74 65 2d |t-buffer| create-| |000023c0| 66 69 6c 65 2d 62 75 66 | 66 65 72 20 65 72 61 73 |file-buf|fer eras| |000023d0| 65 2d 62 75 66 66 65 72 | 20 28 62 79 74 65 2d 63 |e-buffer| (byte-c| |000023e0| 6f 64 65 20 22 c2 08 c1 | 5c 22 87 22 20 5b 66 69 |ode "...|\"." [fi| |000023f0| 6c 65 6e 61 6d 65 20 74 | 20 69 6e 73 65 72 74 2d |lename t| insert-| |00002400| 66 69 6c 65 2d 63 6f 6e | 74 65 6e 74 73 5d 20 33 |file-con|tents] 3| |00002410| 29 20 28 28 66 69 6c 65 | 2d 65 72 72 6f 72 20 28 |) ((file|-error (| |00002420| 62 79 74 65 2d 63 6f 64 | 65 20 22 c1 89 10 88 0b |byte-cod|e ".....| |00002430| 1a 0a 85 0f 00 c4 0a 40 | 21 3f 85 1a 00 0a 41 89 |.......@|!?....A.| |00002440| 12 88 82 06 00 29 87 22 | 20 5b 65 72 72 6f 72 20 |.....)."| [error | |00002450| 74 20 68 6f 6f 6b 73 20 | 66 69 6e 64 2d 66 69 6c |t hooks |find-fil| |00002460| 65 2d 6e 6f 74 2d 66 6f | 75 6e 64 2d 68 6f 6f 6b |e-not-fo|und-hook| |00002470| 73 20 66 75 6e 63 61 6c | 6c 5d 20 34 29 29 29 20 |s funcal|l] 4))) | |00002480| 61 66 74 65 72 2d 66 69 | 6e 64 2d 66 69 6c 65 5d |after-fi|nd-file]| |00002490| 20 32 32 29 29 0a 0a 28 | 64 65 66 75 6e 20 61 66 | 22))..(|defun af| |000024a0| 74 65 72 2d 66 69 6e 64 | 2d 66 69 6c 65 20 28 26 |ter-find|-file (&| |000024b0| 6f 70 74 69 6f 6e 61 6c | 20 65 72 72 6f 72 20 77 |optional| error w| |000024c0| 61 72 6e 29 20 22 5c 0a | 43 61 6c 6c 65 64 20 61 |arn) "\.|Called a| |000024d0| 66 74 65 72 20 66 69 6e | 64 69 6e 67 20 61 20 66 |fter fin|ding a f| |000024e0| 69 6c 65 20 61 6e 64 20 | 62 79 20 74 68 65 20 64 |ile and |by the d| |000024f0| 65 66 61 75 6c 74 20 72 | 65 76 65 72 74 20 66 75 |efault r|evert fu| |00002500| 6e 63 74 69 6f 6e 2e 0a | 53 65 74 73 20 62 75 66 |nction..|Sets buf| |00002510| 66 65 72 20 6d 6f 64 65 | 2c 20 70 61 72 73 65 73 |fer mode|, parses| |00002520| 20 6c 6f 63 61 6c 20 76 | 61 72 69 61 62 6c 65 73 | local v|ariables| |00002530| 2e 0a 4f 70 74 69 6f 6e | 61 6c 20 61 72 67 73 20 |..Option|al args | |00002540| 45 52 52 4f 52 20 61 6e | 64 20 57 41 52 4e 3a 20 |ERROR an|d WARN: | |00002550| 45 52 52 4f 52 20 6e 6f | 6e 2d 6e 69 6c 20 6d 65 |ERROR no|n-nil me| |00002560| 61 6e 73 20 74 68 65 72 | 65 20 77 61 73 20 61 6e |ans ther|e was an| |00002570| 0a 65 72 72 6f 72 20 69 | 6e 20 72 65 61 64 69 6e |.error i|n readin| |00002580| 67 20 74 68 65 20 66 69 | 6c 65 2e 20 20 57 41 52 |g the fi|le. WAR| |00002590| 4e 20 6e 6f 6e 2d 6e 69 | 6c 20 6d 65 61 6e 73 20 |N non-ni|l means | |000025a0| 77 61 72 6e 20 69 66 20 | 74 68 65 72 65 0a 65 78 |warn if |there.ex| |000025b0| 69 73 74 73 20 61 6e 20 | 61 75 74 6f 2d 73 61 76 |ists an |auto-sav| |000025c0| 65 20 66 69 6c 65 20 6d | 6f 72 65 20 72 65 63 65 |e file m|ore rece| |000025d0| 6e 74 20 74 68 61 6e 20 | 74 68 65 20 76 69 73 69 |nt than |the visi| |000025e0| 74 65 64 20 66 69 6c 65 | 2e 0a 46 69 6e 69 73 68 |ted file|..Finish| |000025f0| 65 73 20 62 79 20 63 61 | 6c 6c 69 6e 67 20 74 68 |es by ca|lling th| |00002600| 65 20 66 75 6e 63 74 69 | 6f 6e 73 20 69 6e 20 66 |e functi|ons in f| |00002610| 69 6e 64 2d 66 69 6c 65 | 2d 68 6f 6f 6b 73 2e 22 |ind-file|-hooks."| |00002620| 20 28 62 79 74 65 2d 63 | 6f 64 65 20 22 cc 09 21 | (byte-c|ode "..!| |00002630| 3f 89 10 88 0a 83 0f 00 | c3 82 79 00 c3 1c 08 3f |?.......|..y....?| |00002640| 83 38 00 0e 06 85 20 00 | cd ce 20 09 5c 22 83 27 |.8.... .|.. .\".'| |00002650| 00 cf 82 35 00 c7 89 14 | 88 0e 08 83 34 00 d0 82 |...5....|....4...| |00002660| 35 00 c3 82 5e 00 0e 08 | 3f 83 46 00 c7 89 14 88 |5...^...|?.F.....| |00002670| d1 82 5e 00 d2 09 21 83 | 50 00 d3 82 5e 00 d2 d4 |..^...!.|P...^...| |00002680| 0e 09 21 21 83 5d 00 d5 | 82 5e 00 d6 1d 0d 85 6f |..!!.]..|.^.....o| |00002690| 00 d7 0d 21 88 0c 86 6f | 00 d8 d9 c7 5c 22 2a 88 |...!...o|....\"*.| |000026a0| 0e 0a 85 79 00 da c7 21 | 88 db c7 21 88 dc dd 0e |...y...!|...!....| |000026b0| 0b 5c 22 87 22 20 5b 62 | 75 66 66 65 72 2d 72 65 |.\"." [b|uffer-re| |000026c0| 61 64 2d 6f 6e 6c 79 20 | 62 75 66 66 65 72 2d 66 |ad-only |buffer-f| |000026d0| 69 6c 65 2d 6e 61 6d 65 | 20 6e 6f 6e 69 6e 74 65 |ile-name| noninte| |000026e0| 72 61 63 74 69 76 65 20 | 6e 69 6c 20 6e 6f 74 2d |ractive |nil not-| |000026f0| 73 65 72 69 6f 75 73 20 | 6d 73 67 20 77 61 72 6e |serious |msg warn| |00002700| 20 74 20 65 72 72 6f 72 | 20 64 65 66 61 75 6c 74 | t error| default| |00002710| 2d 64 69 72 65 63 74 6f | 72 79 20 61 75 74 6f 2d |-directo|ry auto-| |00002720| 73 61 76 65 2d 64 65 66 | 61 75 6c 74 20 66 69 6e |save-def|ault fin| |00002730| 64 2d 66 69 6c 65 2d 68 | 6f 6f 6b 73 20 66 69 6c |d-file-h|ooks fil| |00002740| 65 2d 77 72 69 74 61 62 | 6c 65 2d 70 20 66 69 6c |e-writab|le-p fil| |00002750| 65 2d 6e 65 77 65 72 2d | 74 68 61 6e 2d 66 69 6c |e-newer-|than-fil| |00002760| 65 2d 70 20 6d 61 6b 65 | 2d 61 75 74 6f 2d 73 61 |e-p make|-auto-sa| |00002770| 76 65 2d 66 69 6c 65 2d | 6e 61 6d 65 20 22 41 75 |ve-file-|name "Au| |00002780| 74 6f 20 73 61 76 65 20 | 66 69 6c 65 20 69 73 20 |to save |file is | |00002790| 6e 65 77 65 72 3b 20 63 | 6f 6e 73 69 64 65 72 20 |newer; c|onsider | |000027a0| 4d 2d 78 20 72 65 63 6f | 76 65 72 2d 66 69 6c 65 |M-x reco|ver-file| |000027b0| 22 20 22 28 4e 65 77 20 | 66 69 6c 65 29 22 20 22 |" "(New |file)" "| |000027c0| 46 69 6c 65 20 69 73 20 | 77 72 69 74 65 20 70 72 |File is |write pr| |000027d0| 6f 74 65 63 74 65 64 22 | 20 66 69 6c 65 2d 61 74 |otected"| file-at| |000027e0| 74 72 69 62 75 74 65 73 | 20 22 46 69 6c 65 20 65 |tributes| "File e| |000027f0| 78 69 73 74 73 2c 20 62 | 75 74 20 69 73 20 72 65 |xists, b|ut is re| |00002800| 61 64 2d 70 72 6f 74 65 | 63 74 65 64 2e 22 20 64 |ad-prote|cted." d| |00002810| 69 72 65 63 74 6f 72 79 | 2d 66 69 6c 65 2d 6e 61 |irectory|-file-na| |00002820| 6d 65 20 22 46 69 6c 65 | 20 6e 6f 74 20 66 6f 75 |me "File| not fou| |00002830| 6e 64 20 61 6e 64 20 64 | 69 72 65 63 74 6f 72 79 |nd and d|irectory| |00002840| 20 77 72 69 74 65 2d 70 | 72 6f 74 65 63 74 65 64 | write-p|rotected| |00002850| 22 20 22 46 69 6c 65 20 | 6e 6f 74 20 66 6f 75 6e |" "File |not foun| |00002860| 64 20 61 6e 64 20 64 69 | 72 65 63 74 6f 72 79 20 |d and di|rectory | |00002870| 64 6f 65 73 6e 27 74 20 | 65 78 69 73 74 22 20 6d |doesn't |exist" m| |00002880| 65 73 73 61 67 65 20 73 | 69 74 2d 66 6f 72 20 31 |essage s|it-for 1| |00002890| 20 61 75 74 6f 2d 73 61 | 76 65 2d 6d 6f 64 65 20 | auto-sa|ve-mode | |000028a0| 6e 6f 72 6d 61 6c 2d 6d | 6f 64 65 20 6d 61 70 63 |normal-m|ode mapc| |000028b0| 61 72 20 66 75 6e 63 61 | 6c 6c 5d 20 31 33 29 29 |ar funca|ll] 13))| |000028c0| 0a 0a 28 64 65 66 75 6e | 20 6e 6f 72 6d 61 6c 2d |..(defun| normal-| |000028d0| 6d 6f 64 65 20 28 26 6f | 70 74 69 6f 6e 61 6c 20 |mode (&o|ptional | |000028e0| 66 69 6e 64 2d 66 69 6c | 65 29 20 22 5c 0a 43 68 |find-fil|e) "\.Ch| |000028f0| 6f 6f 73 65 20 74 68 65 | 20 6d 61 6a 6f 72 20 6d |oose the| major m| |00002900| 6f 64 65 20 66 6f 72 20 | 74 68 69 73 20 62 75 66 |ode for |this buf| |00002910| 66 65 72 20 61 75 74 6f | 6d 61 74 69 63 61 6c 6c |fer auto|maticall| |00002920| 79 2e 0a 41 6c 73 6f 20 | 73 65 74 73 20 75 70 20 |y..Also |sets up | |00002930| 61 6e 79 20 73 70 65 63 | 69 66 69 65 64 20 6c 6f |any spec|ified lo| |00002940| 63 61 6c 20 76 61 72 69 | 61 62 6c 65 73 20 6f 66 |cal vari|ables of| |00002950| 20 74 68 65 20 66 69 6c | 65 2e 0a 55 73 65 73 20 | the fil|e..Uses | |00002960| 74 68 65 20 76 69 73 69 | 74 65 64 20 66 69 6c 65 |the visi|ted file| |00002970| 20 6e 61 6d 65 2c 20 74 | 68 65 20 2d 2a 2d 20 6c | name, t|he -*- l| |00002980| 69 6e 65 2c 20 61 6e 64 | 20 74 68 65 20 6c 6f 63 |ine, and| the loc| |00002990| 61 6c 20 76 61 72 69 61 | 62 6c 65 73 20 73 70 65 |al varia|bles spe| |000029a0| 63 2e 0a 0a 54 68 69 73 | 20 66 75 6e 63 74 69 6f |c...This| functio| |000029b0| 6e 20 69 73 20 63 61 6c | 6c 65 64 20 61 75 74 6f |n is cal|led auto| |000029c0| 6d 61 74 69 63 61 6c 6c | 79 20 66 72 6f 6d 20 60 |maticall|y from `| |000029d0| 66 69 6e 64 2d 66 69 6c | 65 27 2e 20 20 49 6e 20 |find-fil|e'. In | |000029e0| 74 68 61 74 20 63 61 73 | 65 2c 0a 69 66 20 60 69 |that cas|e,.if `i| |000029f0| 6e 68 69 62 69 74 2d 6c | 6f 63 61 6c 2d 76 61 72 |nhibit-l|ocal-var| |00002a00| 69 61 62 6c 65 73 27 20 | 69 73 20 6e 6f 6e 2d 60 |iables' |is non-`| |00002a10| 6e 69 6c 27 20 77 65 20 | 72 65 71 75 69 72 65 20 |nil' we |require | |00002a20| 63 6f 6e 66 69 72 6d 61 | 74 69 6f 6e 20 62 65 66 |confirma|tion bef| |00002a30| 6f 72 65 0a 70 72 6f 63 | 65 73 73 69 6e 67 20 61 |ore.proc|essing a| |00002a40| 20 6c 6f 63 61 6c 20 76 | 61 72 69 61 62 6c 65 73 | local v|ariables| |00002a50| 20 73 70 65 63 2e 20 20 | 49 66 20 79 6f 75 20 72 | spec. |If you r| |00002a60| 75 6e 20 60 6e 6f 72 6d | 61 6c 2d 6d 6f 64 65 27 |un `norm|al-mode'| |00002a70| 20 65 78 70 6c 69 63 69 | 74 6c 79 2c 0a 63 6f 6e | explici|tly,.con| |00002a80| 66 69 72 6d 61 74 69 6f | 6e 20 69 73 20 6e 65 76 |firmatio|n is nev| |00002a90| 65 72 20 72 65 71 75 69 | 72 65 64 2e 22 20 28 69 |er requi|red." (i| |00002aa0| 6e 74 65 72 61 63 74 69 | 76 65 29 20 28 62 79 74 |nteracti|ve) (byt| |00002ab0| 65 2d 63 6f 64 65 20 22 | c2 88 08 86 0d 00 c3 09 |e-code "|........| |00002ac0| 86 0c 00 c4 21 88 c5 c6 | c7 8f 88 c5 c8 c9 8f 87 |....!...|........| |00002ad0| 22 20 5b 66 69 6e 64 2d | 66 69 6c 65 20 64 65 66 |" [find-|file def| |00002ae0| 61 75 6c 74 2d 6d 61 6a | 6f 72 2d 6d 6f 64 65 20 |ault-maj|or-mode | |00002af0| 6e 69 6c 20 66 75 6e 63 | 61 6c 6c 20 66 75 6e 64 |nil func|all fund| |00002b00| 61 6d 65 6e 74 61 6c 2d | 6d 6f 64 65 20 65 72 72 |amental-|mode err| |00002b10| 20 28 62 79 74 65 2d 63 | 6f 64 65 20 22 c0 20 87 | (byte-c|ode ". .| |00002b20| 22 20 5b 73 65 74 2d 61 | 75 74 6f 2d 6d 6f 64 65 |" [set-a|uto-mode| |00002b30| 5d 20 32 29 20 28 28 65 | 72 72 6f 72 20 28 62 79 |] 2) ((e|rror (by| |00002b40| 74 65 2d 63 6f 64 65 20 | 22 c1 c2 c3 08 21 5c 22 |te-code |"....!\"| |00002b50| 87 22 20 5b 65 72 72 20 | 6d 65 73 73 61 67 65 20 |." [err |message | |00002b60| 22 46 69 6c 65 20 6d 6f | 64 65 20 73 70 65 63 69 |"File mo|de speci| |00002b70| 66 69 63 61 74 69 6f 6e | 20 65 72 72 6f 72 3a 20 |fication| error: | |00002b80| 25 73 22 20 70 72 69 6e | 31 2d 74 6f 2d 73 74 72 |%s" prin|1-to-str| |00002b90| 69 6e 67 5d 20 34 29 29 | 29 20 28 62 79 74 65 2d |ing] 4))|) (byte-| |00002ba0| 63 6f 64 65 20 22 c1 08 | 3f 21 87 22 20 5b 66 69 |code "..|?!." [fi| |00002bb0| 6e 64 2d 66 69 6c 65 20 | 68 61 63 6b 2d 6c 6f 63 |nd-file |hack-loc| |00002bc0| 61 6c 2d 76 61 72 69 61 | 62 6c 65 73 5d 20 32 29 |al-varia|bles] 2)| |00002bd0| 20 28 28 65 72 72 6f 72 | 20 28 62 79 74 65 2d 63 | ((error| (byte-c| |00002be0| 6f 64 65 20 22 c1 c2 c3 | 08 21 5c 22 87 22 20 5b |ode "...|.!\"." [| |00002bf0| 65 72 72 20 6d 65 73 73 | 61 67 65 20 22 46 69 6c |err mess|age "Fil| |00002c00| 65 20 6c 6f 63 61 6c 2d | 76 61 72 69 61 62 6c 65 |e local-|variable| |00002c10| 73 20 65 72 72 6f 72 3a | 20 25 73 22 20 70 72 69 |s error:| %s" pri| |00002c20| 6e 31 2d 74 6f 2d 73 74 | 72 69 6e 67 5d 20 34 29 |n1-to-st|ring] 4)| |00002c30| 29 29 5d 20 34 29 29 0a | 0a 28 64 65 66 75 6e 20 |))] 4)).|.(defun | |00002c40| 73 65 74 2d 61 75 74 6f | 2d 6d 6f 64 65 20 6e 69 |set-auto|-mode ni| |00002c50| 6c 20 22 5c 0a 53 65 6c | 65 63 74 20 6d 61 6a 6f |l "\.Sel|ect majo| |00002c60| 72 20 6d 6f 64 65 20 61 | 70 70 72 6f 70 72 69 61 |r mode a|ppropria| |00002c70| 74 65 20 66 6f 72 20 63 | 75 72 72 65 6e 74 20 62 |te for c|urrent b| |00002c80| 75 66 66 65 72 2e 0a 4d | 61 79 20 62 61 73 65 20 |uffer..M|ay base | |00002c90| 64 65 63 69 73 69 6f 6e | 20 6f 6e 20 76 69 73 69 |decision| on visi| |00002ca0| 74 65 64 20 66 69 6c 65 | 20 6e 61 6d 65 20 28 53 |ted file| name (S| |00002cb0| 65 65 20 76 61 72 69 61 | 62 6c 65 20 20 61 75 74 |ee varia|ble aut| |00002cc0| 6f 2d 6d 6f 64 65 2d 6c | 69 73 74 29 0a 6f 72 20 |o-mode-l|ist).or | |00002cd0| 6f 6e 20 62 75 66 66 65 | 72 20 63 6f 6e 74 65 6e |on buffe|r conten| |00002ce0| 74 73 20 28 2d 2a 2d 20 | 6c 69 6e 65 20 6f 72 20 |ts (-*- |line or | |00002cf0| 6c 6f 63 61 6c 20 76 61 | 72 69 61 62 6c 65 73 20 |local va|riables | |00002d00| 73 70 65 63 29 2c 20 62 | 75 74 20 64 6f 65 73 20 |spec), b|ut does | |00002d10| 6e 6f 74 20 6c 6f 6f 6b | 0a 66 6f 72 20 74 68 65 |not look|.for the| |00002d20| 20 5c 22 6d 6f 64 65 3a | 5c 22 20 6c 6f 63 61 6c | \"mode:|\" local| |00002d30| 20 76 61 72 69 61 62 6c | 65 2e 20 20 46 6f 72 20 | variabl|e. For | |00002d40| 74 68 61 74 2c 20 75 73 | 65 20 20 68 61 63 6b 2d |that, us|e hack-| |00002d50| 6c 6f 63 61 6c 2d 76 61 | 72 69 61 62 6c 65 73 2e |local-va|riables.| |00002d60| 22 20 28 62 79 74 65 2d | 63 6f 64 65 20 22 ca ca |" (byte-|code "..| |00002d70| ca 1a 19 18 8a 65 62 88 | cb cc 21 88 cd ce 8a cf |.....eb.|..!.....| |00002d80| 20 88 60 29 c3 23 85 81 | 00 cb d0 21 88 60 89 10 | .`).#..|...!.`..| |00002d90| 88 cd ce 8a cf 20 88 60 | 29 c3 23 85 81 00 d1 d2 |..... .`|).#.....| |00002da0| 21 88 d3 d0 21 88 60 89 | 11 88 08 62 88 cd d4 09 |!...!.`.|...b....| |00002db0| c3 23 83 7b 00 08 62 88 | c3 1c cd d5 09 c3 23 29 |.#.{..b.|......#)| |00002dc0| 85 78 00 cb d0 21 88 60 | 89 10 88 cd d6 09 c3 23 |.x...!.`|.......#| |00002dd0| 83 6b 00 d1 d7 21 82 6d | 00 09 62 88 d3 d0 21 88 |.k...!.m|..b...!.| |00002de0| d8 08 60 5c 22 89 12 82 | 81 00 d8 08 09 5c 22 89 |..`\"...|.....\".| |00002df0| 12 83 90 00 d9 da db 0a | 21 dc 50 21 21 82 cf 00 |........|!.P!!...| |00002e00| 0e 06 0e 08 1e 07 1d 0e | 09 dd 3d 1c de 0e 07 21 |........|..=....!| |00002e10| 89 16 07 88 0a 3f 85 aa | 00 0d 85 c5 00 df 0d 40 |.....?..|.......@| |00002e20| 40 0e 07 5c 22 85 bc 00 | 0d 40 41 89 12 88 0d 41 |@..\"...|.@A....A| |00002e30| 89 15 88 82 a4 00 29 88 | 0a 85 ce 00 d9 0a 21 2a |......).|......!*| |00002e40| 29 2b 87 22 20 5b 62 65 | 67 20 65 6e 64 20 6d 6f |)+." [be|g end mo| |00002e50| 64 65 20 74 20 63 61 73 | 65 2d 66 6f 6c 64 2d 73 |de t cas|e-fold-s| |00002e60| 65 61 72 63 68 20 61 6c | 69 73 74 20 61 75 74 6f |earch al|ist auto| |00002e70| 2d 6d 6f 64 65 2d 61 6c | 69 73 74 20 6e 61 6d 65 |-mode-al|ist name| |00002e80| 20 62 75 66 66 65 72 2d | 66 69 6c 65 2d 6e 61 6d | buffer-|file-nam| |00002e90| 65 20 73 79 73 74 65 6d | 2d 74 79 70 65 20 6e 69 |e system|-type ni| |00002ea0| 6c 20 73 6b 69 70 2d 63 | 68 61 72 73 2d 66 6f 72 |l skip-c|hars-for| |00002eb0| 77 61 72 64 20 22 20 09 | 0a 22 20 73 65 61 72 63 |ward " .|." searc| |00002ec0| 68 2d 66 6f 72 77 61 72 | 64 20 22 2d 2a 2d 22 20 |h-forwar|d "-*-" | |00002ed0| 65 6e 64 2d 6f 66 2d 6c | 69 6e 65 20 22 20 09 22 |end-of-l|ine " ."| |00002ee0| 20 66 6f 72 77 61 72 64 | 2d 63 68 61 72 20 2d 33 | forward|-char -3| |00002ef0| 20 73 6b 69 70 2d 63 68 | 61 72 73 2d 62 61 63 6b | skip-ch|ars-back| |00002f00| 77 61 72 64 20 22 3a 22 | 20 22 6d 6f 64 65 3a 22 |ward ":"| "mode:"| |00002f10| 20 22 3b 22 20 2d 31 20 | 62 75 66 66 65 72 2d 73 | ";" -1 |buffer-s| |00002f20| 75 62 73 74 72 69 6e 67 | 20 66 75 6e 63 61 6c 6c |ubstring| funcall| |00002f30| 20 69 6e 74 65 72 6e 20 | 64 6f 77 6e 63 61 73 65 | intern |downcase| |00002f40| 20 22 2d 6d 6f 64 65 22 | 20 76 61 78 2d 76 6d 73 | "-mode"| vax-vms| |00002f50| 20 66 69 6c 65 2d 6e 61 | 6d 65 2d 73 61 6e 73 2d | file-na|me-sans-| |00002f60| 76 65 72 73 69 6f 6e 73 | 20 73 74 72 69 6e 67 2d |versions| string-| |00002f70| 6d 61 74 63 68 5d 20 32 | 34 29 29 0a 0a 28 64 65 |match] 2|4))..(de| |00002f80| 66 75 6e 20 68 61 63 6b | 2d 6c 6f 63 61 6c 2d 76 |fun hack|-local-v| |00002f90| 61 72 69 61 62 6c 65 73 | 20 28 26 6f 70 74 69 6f |ariables| (&optio| |00002fa0| 6e 61 6c 20 66 6f 72 63 | 65 29 20 22 5c 0a 50 61 |nal forc|e) "\.Pa| |00002fb0| 72 73 65 2c 20 61 6e 64 | 20 62 69 6e 64 20 6f 72 |rse, and| bind or| |00002fc0| 20 65 76 61 6c 75 61 74 | 65 20 61 73 20 61 70 70 | evaluat|e as app| |00002fd0| 72 6f 70 72 69 61 74 65 | 2c 20 61 6e 79 20 6c 6f |ropriate|, any lo| |00002fe0| 63 61 6c 20 76 61 72 69 | 61 62 6c 65 73 0a 66 6f |cal vari|ables.fo| |00002ff0| 72 20 63 75 72 72 65 6e | 74 20 62 75 66 66 65 72 |r curren|t buffer| |00003000| 2e 22 20 28 62 79 74 65 | 2d 63 6f 64 65 20 22 8a |." (byte|-code ".| |00003010| 64 62 88 d0 d1 64 d2 5a | 65 5d d3 23 88 c1 18 d4 |db...d.Z|e].#....| |00003020| d5 c2 c1 23 85 23 00 0b | 3f 86 23 00 0c 86 23 00 |...#.#..|?.#...#.| |00003030| d6 8b 29 85 70 01 c1 c2 | c2 c2 c2 1e 0a 1e 09 1e |..).p...|........| |00003040| 08 1e 07 1e 06 d7 d8 21 | 88 6c 86 48 00 d9 60 da |.......!|.l.H..`.| |00003050| 20 88 60 5c 22 89 16 09 | 88 db dc 21 62 88 6e 86 | .`\"...|...!b.n.| |00003060| 5c 5c 00 d9 60 dd 20 88 | 60 5c 22 89 16 07 88 0e |\\..`. .|`\".....| |00003070| 07 85 6e 00 0e 07 47 16 | 08 de 0e 07 21 89 16 07 |..n...G.|....!...| |00003080| 88 0e 09 85 7d 00 de 0e | 09 21 df 50 89 16 09 88 |....}...|.!.P....| |00003090| 0e 06 85 6f 01 0e 0b 83 | 8e 00 e0 e1 21 82 91 00 |...o....|....!...| |000030a0| e2 e3 21 88 0e 07 85 a8 | 00 e4 0e 07 21 83 a5 00 |..!.....|....!...| |000030b0| e5 0e 08 21 82 a8 00 e6 | e7 21 88 d7 d8 21 88 60 |...!....|.!...!.`| |000030c0| 89 16 0a 88 d7 e8 21 88 | 6c 85 bd 00 e6 e9 21 88 |......!.|l.....!.| |000030d0| ea d8 21 88 d9 0e 0a 60 | 5c 22 1e 0c eb 0e 0c 21 |..!....`|\".....!| |000030e0| 1e 0d c2 1e 0e ec ed 0e | 0c 21 ee 5c 22 83 e3 00 |........|.!.\"...| |000030f0| c2 89 16 06 82 6a 01 d7 | ef 21 88 e5 e3 21 88 eb |.....j..|.!...!..| |00003100| 70 21 89 16 0e 88 ea f0 | 21 88 d7 d8 21 88 0e 09 |p!......|!...!...| |00003110| 83 06 01 e4 0e 09 21 82 | 07 01 6c 86 0d 01 e6 f1 |......!.|..l.....| |00003120| 21 88 0e 0d f2 3d 83 24 | 01 f3 f4 ed f5 0e 0e 21 |!....=.$|.......!| |00003130| 21 f6 50 21 21 82 6a 01 | 0e 0d c4 3d 83 2f 01 c2 |!.P!!.j.|...=./..| |00003140| 82 6a 01 0e 0d cf 3d 83 | 3a 01 c2 82 6a 01 0e 0d |.j....=.|:...j...| |00003150| f7 3d 83 60 01 0e 0f 85 | 48 01 0c 3f 86 50 01 f8 |.=.`....|H..?.P..| |00003160| f9 20 fa 5c 22 83 59 01 | fb fc 21 82 5d 01 f7 0e |. .\".Y.|..!.]...| |00003170| 0e 21 82 6a 01 fd 0e 0d | 21 88 0e 0d 0e 0e 4c 2b |.!.j....|!.....L+| |00003180| 88 82 7e 00 2d 29 87 22 | 20 5b 63 61 73 65 2d 66 |..~.-)."| [case-f| |00003190| 6f 6c 64 2d 73 65 61 72 | 63 68 20 74 20 6e 69 6c |old-sear|ch t nil| |000031a0| 20 69 6e 68 69 62 69 74 | 2d 6c 6f 63 61 6c 2d 76 | inhibit|-local-v| |000031b0| 61 72 69 61 62 6c 65 73 | 20 66 6f 72 63 65 20 62 |ariables| force b| |000031c0| 75 66 66 65 72 2d 66 69 | 6c 65 2d 6e 61 6d 65 20 |uffer-fi|le-name | |000031d0| 63 6f 6e 74 69 6e 75 65 | 20 70 72 65 66 69 78 20 |continue| prefix | |000031e0| 70 72 65 66 69 78 6c 65 | 6e 20 73 75 66 66 69 78 |prefixle|n suffix| |000031f0| 20 62 65 67 20 73 65 6c | 65 63 74 69 76 65 2d 64 | beg sel|ective-d| |00003200| 69 73 70 6c 61 79 20 73 | 74 72 20 76 61 72 20 76 |isplay s|tr var v| |00003210| 61 6c 20 69 67 6e 6f 72 | 65 2d 6c 6f 63 61 6c 2d |al ignor|e-local-| |00003220| 65 76 61 6c 20 73 65 61 | 72 63 68 2d 62 61 63 6b |eval sea|rch-back| |00003230| 77 61 72 64 20 22 0a 0c | 22 20 33 30 30 30 20 6d |ward "..|" 3000 m| |00003240| 6f 76 65 20 73 65 61 72 | 63 68 2d 66 6f 72 77 61 |ove sear|ch-forwa| |00003250| 72 64 20 22 4c 6f 63 61 | 6c 20 56 61 72 69 61 62 |rd "Loca|l Variab| |00003260| 6c 65 73 3a 22 20 28 28 | 62 79 74 65 2d 63 6f 64 |les:" ((|byte-cod| |00003270| 65 20 22 c1 70 21 88 8a | c2 20 88 c3 c4 20 60 5c |e ".p!..|. ... `\| |00003280| 22 29 88 c5 c6 c7 c8 08 | 21 5c 22 21 87 22 20 5b |")......|!\"!." [| |00003290| 62 75 66 66 65 72 2d 66 | 69 6c 65 2d 6e 61 6d 65 |buffer-f|ile-name| |000032a0| 20 73 77 69 74 63 68 2d | 74 6f 2d 62 75 66 66 65 | switch-|to-buffe| |000032b0| 72 20 62 65 67 69 6e 6e | 69 6e 67 2d 6f 66 2d 6c |r beginn|ing-of-l| |000032c0| 69 6e 65 20 73 65 74 2d | 77 69 6e 64 6f 77 2d 73 |ine set-|window-s| |000032d0| 74 61 72 74 20 73 65 6c | 65 63 74 65 64 2d 77 69 |tart sel|ected-wi| |000032e0| 6e 64 6f 77 20 79 2d 6f | 72 2d 6e 2d 70 20 66 6f |ndow y-o|r-n-p fo| |000032f0| 72 6d 61 74 20 22 53 65 | 74 20 6c 6f 63 61 6c 20 |rmat "Se|t local | |00003300| 76 61 72 69 61 62 6c 65 | 73 20 61 73 20 73 70 65 |variable|s as spe| |00003310| 63 69 66 69 65 64 20 61 | 74 20 65 6e 64 20 6f 66 |cified a|t end of| |00003320| 20 25 73 3f 20 22 20 66 | 69 6c 65 2d 6e 61 6d 65 | %s? " f|ile-name| |00003330| 2d 6e 6f 6e 64 69 72 65 | 63 74 6f 72 79 5d 20 39 |-nondire|ctory] 9| |00003340| 29 29 20 73 6b 69 70 2d | 63 68 61 72 73 2d 66 6f |)) skip-|chars-fo| |00003350| 72 77 61 72 64 20 22 20 | 09 22 20 62 75 66 66 65 |rward " |." buffe| |00003360| 72 2d 73 75 62 73 74 72 | 69 6e 67 20 65 6e 64 2d |r-substr|ing end-| |00003370| 6f 66 2d 6c 69 6e 65 20 | 6d 61 74 63 68 2d 62 65 |of-line |match-be| |00003380| 67 69 6e 6e 69 6e 67 20 | 30 20 62 65 67 69 6e 6e |ginning |0 beginn| |00003390| 69 6e 67 2d 6f 66 2d 6c | 69 6e 65 20 72 65 67 65 |ing-of-l|ine rege| |000033a0| 78 70 2d 71 75 6f 74 65 | 20 22 24 22 20 72 65 2d |xp-quote| "$" re-| |000033b0| 73 65 61 72 63 68 2d 66 | 6f 72 77 61 72 64 20 22 |search-f|orward "| |000033c0| 5b 0a 0d 5d 22 20 66 6f | 72 77 61 72 64 2d 6c 69 |[..]" fo|rward-li| |000033d0| 6e 65 20 31 20 6c 6f 6f | 6b 69 6e 67 2d 61 74 20 |ne 1 loo|king-at | |000033e0| 66 6f 72 77 61 72 64 2d | 63 68 61 72 20 65 72 72 |forward-|char err| |000033f0| 6f 72 20 22 4c 6f 63 61 | 6c 20 76 61 72 69 61 62 |or "Loca|l variab| |00003400| 6c 65 73 20 65 6e 74 72 | 79 20 69 73 20 6d 69 73 |les entr|y is mis| |00003410| 73 69 6e 67 20 74 68 65 | 20 70 72 65 66 69 78 22 |sing the| prefix"| |00003420| 20 22 5e 3a 0a 22 20 22 | 4d 69 73 73 69 6e 67 20 | "^:." "|Missing | |00003430| 63 6f 6c 6f 6e 20 69 6e | 20 6c 6f 63 61 6c 20 76 |colon in| local v| |00003440| 61 72 69 61 62 6c 65 73 | 20 65 6e 74 72 79 22 20 |ariables| entry" | |00003450| 73 6b 69 70 2d 63 68 61 | 72 73 2d 62 61 63 6b 77 |skip-cha|rs-backw| |00003460| 61 72 64 20 72 65 61 64 | 20 73 74 72 69 6e 67 2d |ard read| string-| |00003470| 65 71 75 61 6c 20 64 6f | 77 6e 63 61 73 65 20 22 |equal do|wncase "| |00003480| 65 6e 64 22 20 22 5e 3a | 22 20 22 0a 22 20 22 4c |end" "^:|" "." "L| |00003490| 6f 63 61 6c 20 76 61 72 | 69 61 62 6c 65 73 20 65 |ocal var|iables e| |000034a0| 6e 74 72 79 20 69 73 20 | 74 65 72 6d 69 6e 61 74 |ntry is |terminat| |000034b0| 65 64 20 69 6e 63 6f 72 | 72 65 63 74 6c 79 22 20 |ed incor|rectly" | |000034c0| 6d 6f 64 65 20 66 75 6e | 63 61 6c 6c 20 69 6e 74 |mode fun|call int| |000034d0| 65 72 6e 20 73 79 6d 62 | 6f 6c 2d 6e 61 6d 65 20 |ern symb|ol-name | |000034e0| 22 2d 6d 6f 64 65 22 20 | 65 76 61 6c 20 73 74 72 |"-mode" |eval str| |000034f0| 69 6e 67 3d 20 75 73 65 | 72 2d 6c 6f 67 69 6e 2d |ing= use|r-login-| |00003500| 6e 61 6d 65 20 22 72 6f | 6f 74 22 20 6d 65 73 73 |name "ro|ot" mess| |00003510| 61 67 65 20 22 49 67 6e | 6f 72 69 6e 67 20 60 65 |age "Ign|oring `e| |00003520| 76 61 6c 3a 27 20 69 6e | 20 66 69 6c 65 27 73 20 |val:' in| file's | |00003530| 6c 6f 63 61 6c 20 76 61 | 72 69 61 62 6c 65 73 22 |local va|riables"| |00003540| 20 6d 61 6b 65 2d 6c 6f | 63 61 6c 2d 76 61 72 69 | make-lo|cal-vari| |00003550| 61 62 6c 65 5d 20 34 32 | 29 29 0a 0a 28 64 65 66 |able] 42|))..(def| |00003560| 75 6e 20 73 65 74 2d 76 | 69 73 69 74 65 64 2d 66 |un set-v|isited-f| |00003570| 69 6c 65 2d 6e 61 6d 65 | 20 28 66 69 6c 65 6e 61 |ile-name| (filena| |00003580| 6d 65 29 20 22 5c 0a 43 | 68 61 6e 67 65 20 6e 61 |me) "\.C|hange na| |00003590| 6d 65 20 6f 66 20 66 69 | 6c 65 20 76 69 73 69 74 |me of fi|le visit| |000035a0| 65 64 20 69 6e 20 63 75 | 72 72 65 6e 74 20 62 75 |ed in cu|rrent bu| |000035b0| 66 66 65 72 20 74 6f 20 | 46 49 4c 45 4e 41 4d 45 |ffer to |FILENAME| |000035c0| 2e 0a 54 68 65 20 6e 65 | 78 74 20 74 69 6d 65 20 |..The ne|xt time | |000035d0| 74 68 65 20 62 75 66 66 | 65 72 20 69 73 20 73 61 |the buff|er is sa| |000035e0| 76 65 64 20 69 74 20 77 | 69 6c 6c 20 67 6f 20 69 |ved it w|ill go i| |000035f0| 6e 20 74 68 65 20 6e 65 | 77 6c 79 20 73 70 65 63 |n the ne|wly spec| |00003600| 69 66 69 65 64 20 66 69 | 6c 65 2e 0a 6e 69 6c 20 |ified fi|le..nil | |00003610| 6f 72 20 65 6d 70 74 79 | 20 73 74 72 69 6e 67 20 |or empty| string | |00003620| 61 73 20 61 72 67 75 6d | 65 6e 74 20 6d 65 61 6e |as argum|ent mean| |00003630| 73 20 6d 61 6b 65 20 62 | 75 66 66 65 72 20 6e 6f |s make b|uffer no| |00003640| 74 20 62 65 20 76 69 73 | 69 74 69 6e 67 20 61 6e |t be vis|iting an| |00003650| 79 20 66 69 6c 65 2e 0a | 52 65 6d 65 6d 62 65 72 |y file..|Remember| |00003660| 20 74 6f 20 64 65 6c 65 | 74 65 20 74 68 65 20 69 | to dele|te the i| |00003670| 6e 69 74 69 61 6c 20 63 | 6f 6e 74 65 6e 74 73 20 |nitial c|ontents | |00003680| 6f 66 20 74 68 65 20 6d | 69 6e 69 62 75 66 66 65 |of the m|inibuffe| |00003690| 72 0a 69 66 20 79 6f 75 | 20 77 69 73 68 20 74 6f |r.if you| wish to| |000036a0| 20 70 61 73 73 20 61 6e | 20 65 6d 70 74 79 20 73 | pass an| empty s| |000036b0| 74 72 69 6e 67 20 61 73 | 20 74 68 65 20 61 72 67 |tring as| the arg| |000036c0| 75 6d 65 6e 74 2e 22 20 | 28 69 6e 74 65 72 61 63 |ument." |(interac| |000036d0| 74 69 76 65 20 22 46 53 | 65 74 20 76 69 73 69 74 |tive "FS|et visit| |000036e0| 65 64 20 66 69 6c 65 20 | 6e 61 6d 65 3a 20 22 29 |ed file |name: ")| |000036f0| 20 28 62 79 74 65 2d 63 | 6f 64 65 20 22 c1 88 08 | (byte-c|ode "...| |00003700| 85 16 00 ca 08 cb 5c 22 | 83 11 00 c1 82 14 00 cc |......\"|........| |00003710| 08 21 89 10 88 cd 08 0a | 5c 22 86 29 00 08 3f 86 |.!......|\".)..?.| |00003720| 29 00 ce 08 21 88 cf 20 | 88 08 83 6b 00 d0 08 21 |)...!.. |...k...!| |00003730| 1b d1 0b cb 5c 22 85 3c | 00 d2 d3 21 88 d4 08 21 |....\".<|...!...!| |00003740| 85 47 00 d2 d5 08 5c 22 | 88 0c d6 3d 85 53 00 d7 |.G....\"|...=.S..| |00003750| 0b 21 89 13 88 08 89 12 | 88 d8 0a 21 89 15 88 d9 |.!......|...!....| |00003760| 0b 21 86 67 00 da 0b 21 | 29 82 6e 00 c1 89 12 88 |.!.g...!|).n.....| |00003770| c1 89 16 06 88 db 20 88 | dc dd 21 88 dc de 21 88 |...... .|..!...!.| |00003780| 0e 07 83 89 00 df 20 82 | 91 00 e0 0a 85 90 00 0e |...... .|........| |00003790| 08 21 88 0a 85 99 00 e1 | c9 21 87 22 20 5b 66 69 |.!......|.!." [fi| |000037a0| 6c 65 6e 61 6d 65 20 6e | 69 6c 20 62 75 66 66 65 |lename n|il buffe| |000037b0| 72 2d 66 69 6c 65 2d 6e | 61 6d 65 20 6e 65 77 2d |r-file-n|ame new-| |000037c0| 6e 61 6d 65 20 73 79 73 | 74 65 6d 2d 74 79 70 65 |name sys|tem-type| |000037d0| 20 64 65 66 61 75 6c 74 | 2d 64 69 72 65 63 74 6f | default|-directo| |000037e0| 72 79 20 62 75 66 66 65 | 72 2d 62 61 63 6b 65 64 |ry buffe|r-backed| |000037f0| 2d 75 70 20 62 75 66 66 | 65 72 2d 61 75 74 6f 2d |-up buff|er-auto-| |00003800| 73 61 76 65 2d 66 69 6c | 65 2d 6e 61 6d 65 20 61 |save-fil|e-name a| |00003810| 75 74 6f 2d 73 61 76 65 | 2d 64 65 66 61 75 6c 74 |uto-save|-default| |00003820| 20 74 20 73 74 72 69 6e | 67 2d 65 71 75 61 6c 20 | t strin|g-equal | |00003830| 22 22 20 65 78 70 61 6e | 64 2d 66 69 6c 65 2d 6e |"" expan|d-file-n| |00003840| 61 6d 65 20 65 71 75 61 | 6c 20 6c 6f 63 6b 2d 62 |ame equa|l lock-b| |00003850| 75 66 66 65 72 20 75 6e | 6c 6f 63 6b 2d 62 75 66 |uffer un|lock-buf| |00003860| 66 65 72 20 66 69 6c 65 | 2d 6e 61 6d 65 2d 6e 6f |fer file|-name-no| |00003870| 6e 64 69 72 65 63 74 6f | 72 79 20 73 74 72 69 6e |ndirecto|ry strin| |00003880| 67 3d 20 65 72 72 6f 72 | 20 22 45 6d 70 74 79 20 |g= error| "Empty | |00003890| 66 69 6c 65 20 6e 61 6d | 65 22 20 66 69 6c 65 2d |file nam|e" file-| |000038a0| 64 69 72 65 63 74 6f 72 | 79 2d 70 20 22 46 69 6c |director|y-p "Fil| |000038b0| 65 20 25 73 20 69 73 20 | 61 20 64 69 72 65 63 74 |e %s is |a direct| |000038c0| 6f 72 79 22 20 76 61 78 | 2d 76 6d 73 20 64 6f 77 |ory" vax|-vms dow| |000038d0| 6e 63 61 73 65 20 66 69 | 6c 65 2d 6e 61 6d 65 2d |ncase fi|le-name-| |000038e0| 64 69 72 65 63 74 6f 72 | 79 20 67 65 74 2d 62 75 |director|y get-bu| |000038f0| 66 66 65 72 20 72 65 6e | 61 6d 65 2d 62 75 66 66 |ffer ren|ame-buff| |00003900| 65 72 20 63 6c 65 61 72 | 2d 76 69 73 69 74 65 64 |er clear|-visited| |00003910| 2d 66 69 6c 65 2d 6d 6f | 64 74 69 6d 65 20 6b 69 |-file-mo|dtime ki| |00003920| 6c 6c 2d 6c 6f 63 61 6c | 2d 76 61 72 69 61 62 6c |ll-local|-variabl| |00003930| 65 20 77 72 69 74 65 2d | 66 69 6c 65 2d 68 6f 6f |e write-|file-hoo| |00003940| 6b 73 20 72 65 76 65 72 | 74 2d 62 75 66 66 65 72 |ks rever|t-buffer| |00003950| 2d 66 75 6e 63 74 69 6f | 6e 20 72 65 6e 61 6d 65 |-functio|n rename| |00003960| 2d 61 75 74 6f 2d 73 61 | 76 65 2d 66 69 6c 65 20 |-auto-sa|ve-file | |00003970| 61 75 74 6f 2d 73 61 76 | 65 2d 6d 6f 64 65 20 73 |auto-sav|e-mode s| |00003980| 65 74 2d 62 75 66 66 65 | 72 2d 6d 6f 64 69 66 69 |et-buffe|r-modifi| |00003990| 65 64 2d 70 5d 20 32 31 | 29 29 0a 0a 28 64 65 66 |ed-p] 21|))..(def| |000039a0| 75 6e 20 77 72 69 74 65 | 2d 66 69 6c 65 20 28 66 |un write|-file (f| |000039b0| 69 6c 65 6e 61 6d 65 29 | 20 22 5c 0a 57 72 69 74 |ilename)| "\.Writ| |000039c0| 65 20 63 75 72 72 65 6e | 74 20 62 75 66 66 65 72 |e curren|t buffer| |000039d0| 20 69 6e 74 6f 20 66 69 | 6c 65 20 46 49 4c 45 4e | into fi|le FILEN| |000039e0| 41 4d 45 2e 0a 4d 61 6b | 65 73 20 62 75 66 66 65 |AME..Mak|es buffe| |000039f0| 72 20 76 69 73 69 74 20 | 74 68 61 74 20 66 69 6c |r visit |that fil| |00003a00| 65 2c 20 61 6e 64 20 6d | 61 72 6b 73 20 69 74 20 |e, and m|arks it | |00003a10| 6e 6f 74 20 6d 6f 64 69 | 66 69 65 64 2e 22 20 28 |not modi|fied." (| |00003a20| 69 6e 74 65 72 61 63 74 | 69 76 65 20 22 46 57 72 |interact|ive "FWr| |00003a30| 69 74 65 20 66 69 6c 65 | 3a 20 22 29 20 28 62 79 |ite file|: ") (by| |00003a40| 74 65 2d 63 6f 64 65 20 | 22 c2 88 08 3f 86 11 00 |te-code |"...?...| |00003a50| c3 08 c4 5c 22 86 11 00 | c5 08 21 88 c6 c1 21 88 |...\"...|..!...!.| |00003a60| c7 20 87 22 20 5b 66 69 | 6c 65 6e 61 6d 65 20 74 |. ." [fi|lename t| |00003a70| 20 6e 69 6c 20 73 74 72 | 69 6e 67 2d 65 71 75 61 | nil str|ing-equa| |00003a80| 6c 20 22 22 20 73 65 74 | 2d 76 69 73 69 74 65 64 |l "" set|-visited| |00003a90| 2d 66 69 6c 65 2d 6e 61 | 6d 65 20 73 65 74 2d 62 |-file-na|me set-b| |00003aa0| 75 66 66 65 72 2d 6d 6f | 64 69 66 69 65 64 2d 70 |uffer-mo|dified-p| |00003ab0| 20 73 61 76 65 2d 62 75 | 66 66 65 72 5d 20 35 29 | save-bu|ffer] 5)| |00003ac0| 29 0a 0a 28 64 65 66 75 | 6e 20 62 61 63 6b 75 70 |)..(defu|n backup| |00003ad0| 2d 62 75 66 66 65 72 20 | 6e 69 6c 20 22 5c 0a 4d |-buffer |nil "\.M| |00003ae0| 61 6b 65 20 61 20 62 61 | 63 6b 75 70 20 6f 66 20 |ake a ba|ckup of | |00003af0| 74 68 65 20 64 69 73 6b | 20 66 69 6c 65 20 76 69 |the disk| file vi| |00003b00| 73 69 74 65 64 20 62 79 | 20 74 68 65 20 63 75 72 |sited by| the cur| |00003b10| 72 65 6e 74 20 62 75 66 | 66 65 72 2c 20 69 66 20 |rent buf|fer, if | |00003b20| 61 70 70 72 6f 70 72 69 | 61 74 65 2e 0a 54 68 69 |appropri|ate..Thi| |00003b30| 73 20 69 73 20 6e 6f 72 | 6d 61 6c 6c 79 20 64 6f |s is nor|mally do| |00003b40| 6e 65 20 62 65 66 6f 72 | 65 20 73 61 76 69 6e 67 |ne befor|e saving| |00003b50| 20 74 68 65 20 62 75 66 | 66 65 72 20 74 68 65 20 | the buf|fer the | |00003b60| 66 69 72 73 74 20 74 69 | 6d 65 2e 0a 49 66 20 74 |first ti|me..If t| |00003b70| 68 65 20 76 61 6c 75 65 | 20 69 73 20 6e 6f 6e 2d |he value| is non-| |00003b80| 6e 69 6c 2c 20 69 74 20 | 69 73 20 74 68 65 20 72 |nil, it |is the r| |00003b90| 65 73 75 6c 74 20 6f 66 | 20 60 66 69 6c 65 2d 6d |esult of| `file-m| |00003ba0| 6f 64 65 73 27 20 6f 6e | 20 74 68 65 20 6f 72 69 |odes' on| the ori| |00003bb0| 67 69 6e 61 6c 20 66 69 | 6c 65 3b 0a 74 68 69 73 |ginal fi|le;.this| |00003bc0| 20 6d 65 61 6e 73 20 74 | 68 61 74 20 74 68 65 20 | means t|hat the | |00003bd0| 63 61 6c 6c 65 72 2c 20 | 61 66 74 65 72 20 73 61 |caller, |after sa| |00003be0| 76 69 6e 67 20 74 68 65 | 20 62 75 66 66 65 72 2c |ving the| buffer,| |00003bf0| 20 73 68 6f 75 6c 64 20 | 63 68 61 6e 67 65 20 74 | should |change t| |00003c00| 68 65 20 6d 6f 64 65 73 | 0a 6f 66 20 74 68 65 20 |he modes|.of the | |00003c10| 6e 65 77 20 66 69 6c 65 | 20 74 6f 20 61 67 72 65 |new file| to agre| |00003c20| 65 20 77 69 74 68 20 74 | 68 65 20 6f 6c 64 20 6d |e with t|he old m| |00003c30| 6f 64 65 73 2e 22 20 28 | 62 79 74 65 2d 63 6f 64 |odes." (|byte-cod| |00003c40| 65 20 22 08 85 32 00 09 | 3f 85 32 00 c3 0a 21 85 |e "..2..|?.2...!.| |00003c50| 32 00 c4 c5 0a 21 c6 5c | 22 c7 48 c8 3e 85 32 00 |2....!.\|".H.>.2.| |00003c60| 0a 47 c9 57 86 2b 00 ca | cb 0a c7 c9 4f 5c 22 3f |.G.W.+..|....O\"?| |00003c70| 85 32 00 cc cd ce 8f 87 | 22 20 5b 6d 61 6b 65 2d |.2......|" [make-| |00003c80| 62 61 63 6b 75 70 2d 66 | 69 6c 65 73 20 62 75 66 |backup-f|iles buf| |00003c90| 66 65 72 2d 62 61 63 6b | 65 64 2d 75 70 20 62 75 |fer-back|ed-up bu| |00003ca0| 66 66 65 72 2d 66 69 6c | 65 2d 6e 61 6d 65 20 66 |ffer-fil|e-name f| |00003cb0| 69 6c 65 2d 65 78 69 73 | 74 73 2d 70 20 65 6c 74 |ile-exis|ts-p elt| |00003cc0| 20 66 69 6c 65 2d 61 74 | 74 72 69 62 75 74 65 73 | file-at|tributes| |00003cd0| 20 38 20 30 20 28 34 35 | 20 31 30 38 29 20 35 20 | 8 0 (45| 108) 5 | |00003ce0| 73 74 72 69 6e 67 2d 65 | 71 75 61 6c 20 22 2f 74 |string-e|qual "/t| |00003cf0| 6d 70 2f 22 20 6e 69 6c | 20 28 62 79 74 65 2d 63 |mp/" nil| (byte-c| |00003d00| 6f 64 65 20 22 c8 09 21 | 18 08 40 1a 08 41 1b c9 |ode "..!|..@..A..| |00003d10| 1c c9 ca cb 8f 88 c6 89 | 15 88 0b 85 24 00 0e 07 |........|....$...| |00003d20| 86 24 00 cc cd ce 09 5c | 22 21 85 38 00 0b 85 38 |.$.....\|"!.8...8| |00003d30| 00 c9 cf d0 8f 88 0b 41 | 89 13 88 82 27 00 88 0c |.......A|....'...| |00003d40| 2c 87 22 20 5b 62 61 63 | 6b 75 70 2d 69 6e 66 6f |,." [bac|kup-info| |00003d50| 20 62 75 66 66 65 72 2d | 66 69 6c 65 2d 6e 61 6d | buffer-|file-nam| |00003d60| 65 20 62 61 63 6b 75 70 | 6e 61 6d 65 20 74 61 72 |e backup|name tar| |00003d70| 67 65 74 73 20 73 65 74 | 6d 6f 64 65 73 20 62 75 |gets set|modes bu| |00003d80| 66 66 65 72 2d 62 61 63 | 6b 65 64 2d 75 70 20 74 |ffer-bac|ked-up t| |00003d90| 20 74 72 69 6d 2d 76 65 | 72 73 69 6f 6e 73 2d 77 | trim-ve|rsions-w| |00003da0| 69 74 68 6f 75 74 2d 61 | 73 6b 69 6e 67 20 66 69 |ithout-a|sking fi| |00003db0| 6e 64 2d 62 61 63 6b 75 | 70 2d 66 69 6c 65 2d 6e |nd-backu|p-file-n| |00003dc0| 61 6d 65 20 6e 69 6c 20 | 28 62 79 74 65 2d 63 6f |ame nil |(byte-co| |00003dd0| 64 65 20 22 08 86 30 00 | c9 09 21 86 30 00 0a 86 |de "..0.|..!.0...| |00003de0| 30 00 0b 85 17 00 ca 09 | 21 cb 56 86 30 00 0c 85 |0.......|!.V.0...| |00003df0| 30 00 cc 09 21 1d cd 0d | 38 86 2f 00 ce cf 0d 38 |0...!...|8./....8| |00003e00| d0 20 5c 22 29 83 3d 00 | d1 09 0e 06 c7 c7 24 82 |. \").=.|......$.| |00003e10| 50 00 d2 d3 d4 8f 88 d5 | 09 0e 06 c7 23 88 d6 0e |P.......|....#...| |00003e20| 06 21 89 16 08 87 22 20 | 5b 66 69 6c 65 2d 70 72 |.!...." |[file-pr| |00003e30| 65 63 69 6f 75 73 2d 66 | 6c 61 67 20 62 75 66 66 |ecious-f|lag buff| |00003e40| 65 72 2d 66 69 6c 65 2d | 6e 61 6d 65 20 62 61 63 |er-file-|name bac| |00003e50| 6b 75 70 2d 62 79 2d 63 | 6f 70 79 69 6e 67 20 62 |kup-by-c|opying b| |00003e60| 61 63 6b 75 70 2d 62 79 | 2d 63 6f 70 79 69 6e 67 |ackup-by|-copying| |00003e70| 2d 77 68 65 6e 2d 6c 69 | 6e 6b 65 64 20 62 61 63 |-when-li|nked bac| |00003e80| 6b 75 70 2d 62 79 2d 63 | 6f 70 79 69 6e 67 2d 77 |kup-by-c|opying-w| |00003e90| 68 65 6e 2d 6d 69 73 6d | 61 74 63 68 20 61 74 74 |hen-mism|atch att| |00003ea0| 72 20 62 61 63 6b 75 70 | 6e 61 6d 65 20 74 20 73 |r backup|name t s| |00003eb0| 65 74 6d 6f 64 65 73 20 | 66 69 6c 65 2d 73 79 6d |etmodes |file-sym| |00003ec0| 6c 69 6e 6b 2d 70 20 66 | 69 6c 65 2d 6e 6c 69 6e |link-p f|ile-nlin| |00003ed0| 6b 73 20 31 20 66 69 6c | 65 2d 61 74 74 72 69 62 |ks 1 fil|e-attrib| |00003ee0| 75 74 65 73 20 39 20 2f | 3d 20 32 20 75 73 65 72 |utes 9 /|= 2 user| |00003ef0| 2d 75 69 64 20 63 6f 70 | 79 2d 66 69 6c 65 20 6e |-uid cop|y-file n| |00003f00| 69 6c 20 28 62 79 74 65 | 2d 63 6f 64 65 20 22 c1 |il (byte|-code ".| |00003f10| 08 21 87 22 20 5b 62 61 | 63 6b 75 70 6e 61 6d 65 |.!." [ba|ckupname| |00003f20| 20 64 65 6c 65 74 65 2d | 66 69 6c 65 5d 20 32 29 | delete-|file] 2)| |00003f30| 20 28 28 66 69 6c 65 2d | 65 72 72 6f 72 20 28 62 | ((file-|error (b| |00003f40| 79 74 65 2d 63 6f 64 65 | 20 22 c0 87 22 20 5b 6e |yte-code| ".." [n| |00003f50| 69 6c 5d 20 31 29 29 29 | 20 72 65 6e 61 6d 65 2d |il] 1)))| rename-| |00003f60| 66 69 6c 65 20 66 69 6c | 65 2d 6d 6f 64 65 73 5d |file fil|e-modes]| |00003f70| 20 31 30 29 20 28 28 66 | 69 6c 65 2d 65 72 72 6f | 10) ((f|ile-erro| |00003f80| 72 20 28 62 79 74 65 2d | 63 6f 64 65 20 22 c3 c4 |r (byte-|code "..| |00003f90| 21 89 10 88 c5 c6 21 88 | c7 c8 21 88 c9 ca cb 8f |!.....!.|..!.....| |00003fa0| 88 cc 09 08 c2 c2 24 87 | 22 20 5b 62 61 63 6b 75 |......$.|" [backu| |00003fb0| 70 6e 61 6d 65 20 62 75 | 66 66 65 72 2d 66 69 6c |pname bu|ffer-fil| |00003fc0| 65 2d 6e 61 6d 65 20 74 | 20 65 78 70 61 6e 64 2d |e-name t| expand-| |00003fd0| 66 69 6c 65 2d 6e 61 6d | 65 20 22 7e 2f 25 62 61 |file-nam|e "~/%ba| |00003fe0| 63 6b 75 70 25 7e 22 20 | 6d 65 73 73 61 67 65 20 |ckup%~" |message | |00003ff0| 22 43 61 6e 6e 6f 74 20 | 77 72 69 74 65 20 62 61 |"Cannot |write ba| |00004000| 63 6b 75 70 20 66 69 6c | 65 3b 20 62 61 63 6b 69 |ckup fil|e; backi| |00004010| 6e 67 20 75 70 20 69 6e | 20 7e 2f 25 25 62 61 63 |ng up in| ~/%%bac| |00004020| 6b 75 70 25 25 7e 22 20 | 73 6c 65 65 70 2d 66 6f |kup%%~" |sleep-fo| |00004030| 72 20 31 20 6e 69 6c 20 | 28 62 79 74 65 2d 63 6f |r 1 nil |(byte-co| |00004040| 64 65 20 22 c1 08 21 87 | 22 20 5b 62 61 63 6b 75 |de "..!.|" [backu| |00004050| 70 6e 61 6d 65 20 64 65 | 6c 65 74 65 2d 66 69 6c |pname de|lete-fil| |00004060| 65 5d 20 32 29 20 28 28 | 66 69 6c 65 2d 65 72 72 |e] 2) ((|file-err| |00004070| 6f 72 20 28 62 79 74 65 | 2d 63 6f 64 65 20 22 c0 |or (byte|-code ".| |00004080| 87 22 20 5b 6e 69 6c 5d | 20 31 29 29 29 20 63 6f |." [nil]| 1))) co| |00004090| 70 79 2d 66 69 6c 65 5d | 20 38 29 29 29 20 79 2d |py-file]| 8))) y-| |000040a0| 6f 72 2d 6e 2d 70 20 66 | 6f 72 6d 61 74 20 22 44 |or-n-p f|ormat "D| |000040b0| 65 6c 65 74 65 20 65 78 | 63 65 73 73 20 62 61 63 |elete ex|cess bac| |000040c0| 6b 75 70 20 76 65 72 73 | 69 6f 6e 73 20 6f 66 20 |kup vers|ions of | |000040d0| 25 73 3f 20 22 20 28 62 | 79 74 65 2d 63 6f 64 65 |%s? " (b|yte-code| |000040e0| 20 22 c1 08 40 21 87 22 | 20 5b 74 61 72 67 65 74 | "..@!."| [target| |000040f0| 73 20 64 65 6c 65 74 65 | 2d 66 69 6c 65 5d 20 32 |s delete|-file] 2| |00004100| 29 20 28 28 66 69 6c 65 | 2d 65 72 72 6f 72 20 28 |) ((file|-error (| |00004110| 62 79 74 65 2d 63 6f 64 | 65 20 22 c0 87 22 20 5b |byte-cod|e ".." [| |00004120| 6e 69 6c 5d 20 31 29 29 | 29 5d 20 37 29 20 28 28 |nil] 1))|)] 7) ((| |00004130| 66 69 6c 65 2d 65 72 72 | 6f 72 20 28 62 79 74 65 |file-err|or (byte| |00004140| 2d 63 6f 64 65 20 22 c0 | 87 22 20 5b 6e 69 6c 5d |-code ".|." [nil]| |00004150| 20 31 29 29 29 5d 20 38 | 29 29 0a 0a 28 64 65 66 | 1)))] 8|))..(def| |00004160| 75 6e 20 66 69 6c 65 2d | 6e 61 6d 65 2d 73 61 6e |un file-|name-san| |00004170| 73 2d 76 65 72 73 69 6f | 6e 73 20 28 6e 61 6d 65 |s-versio|ns (name| |00004180| 29 20 22 5c 0a 52 65 74 | 75 72 6e 20 46 49 4c 45 |) "\.Ret|urn FILE| |00004190| 4e 41 4d 45 20 73 61 6e | 73 20 62 61 63 6b 75 70 |NAME san|s backup| |000041a0| 20 76 65 72 73 69 6f 6e | 73 20 6f 72 20 73 74 72 | version|s or str| |000041b0| 69 6e 67 73 2e 0a 54 68 | 69 73 20 69 73 20 61 20 |ings..Th|is is a | |000041c0| 73 65 70 61 72 61 74 65 | 20 70 72 6f 63 65 64 75 |separate| procedu| |000041d0| 72 65 20 73 6f 20 79 6f | 75 72 20 73 69 74 65 2d |re so yo|ur site-| |000041e0| 69 6e 69 74 20 6f 72 20 | 73 74 61 72 74 75 70 20 |init or |startup | |000041f0| 66 69 6c 65 20 63 61 6e | 0a 72 65 64 65 66 69 6e |file can|.redefin| |00004200| 65 20 69 74 2e 22 20 28 | 62 79 74 65 2d 63 6f 64 |e it." (|byte-cod| |00004210| 65 20 22 08 c2 09 c3 3d | 83 24 00 c4 c5 08 5c 22 |e "....=|.$....\"| |00004220| 86 21 00 c4 c6 08 c4 c7 | 08 5c 22 23 85 21 00 c4 |.!......|.\"#.!..| |00004230| c8 08 c9 c2 21 23 82 28 | 00 c4 ca 08 5c 22 4f 87 |....!#.(|....\"O.| |00004240| 22 20 5b 6e 61 6d 65 20 | 73 79 73 74 65 6d 2d 74 |" [name |system-t| |00004250| 79 70 65 20 30 20 76 61 | 78 2d 76 6d 73 20 73 74 |ype 0 va|x-vms st| |00004260| 72 69 6e 67 2d 6d 61 74 | 63 68 20 22 3b 5b 30 2d |ring-mat|ch ";[0-| |00004270| 39 5d 2a 5c 5c 27 22 20 | 22 5c 5c 2e 22 20 22 5b |9]*\\'" |"\\." "[| |00004280| 5d 3e 5d 22 20 22 5c 5c | 2e 5b 30 2d 39 5d 2a 5c |]>]" "\\|.[0-9]*\| |00004290| 5c 27 22 20 6d 61 74 63 | 68 2d 65 6e 64 20 22 5c |\'" matc|h-end "\| |000042a0| 5c 28 5c 5c 2e 7e 5b 30 | 2d 39 5d 2b 5c 5c 29 3f |\(\\.~[0|-9]+\\)?| |000042b0| 7e 5c 5c 27 22 5d 20 31 | 30 29 29 0a 0a 28 64 65 |~\\'"] 1|0))..(de| |000042c0| 66 75 6e 20 6d 61 6b 65 | 2d 62 61 63 6b 75 70 2d |fun make|-backup-| |000042d0| 66 69 6c 65 2d 6e 61 6d | 65 20 28 66 69 6c 65 29 |file-nam|e (file)| |000042e0| 20 22 5c 0a 43 72 65 61 | 74 65 20 74 68 65 20 6e | "\.Crea|te the n| |000042f0| 6f 6e 2d 6e 75 6d 65 72 | 69 63 20 62 61 63 6b 75 |on-numer|ic backu| |00004300| 70 20 66 69 6c 65 20 6e | 61 6d 65 20 66 6f 72 20 |p file n|ame for | |00004310| 46 49 4c 45 2e 0a 54 68 | 69 73 20 69 73 20 61 20 |FILE..Th|is is a | |00004320| 73 65 70 61 72 61 74 65 | 20 66 75 6e 63 74 69 6f |separate| functio| |00004330| 6e 20 73 6f 20 79 6f 75 | 20 63 61 6e 20 72 65 64 |n so you| can red| |00004340| 65 66 69 6e 65 20 69 74 | 20 66 6f 72 20 63 75 73 |efine it| for cus| |00004350| 74 6f 6d 69 7a 61 74 69 | 6f 6e 2e 22 20 28 62 79 |tomizati|on." (by| |00004360| 74 65 2d 63 6f 64 65 20 | 22 08 c1 50 87 22 20 5b |te-code |"..P." [| |00004370| 66 69 6c 65 20 22 7e 22 | 5d 20 32 29 29 0a 0a 28 |file "~"|] 2))..(| |00004380| 64 65 66 75 6e 20 62 61 | 63 6b 75 70 2d 66 69 6c |defun ba|ckup-fil| |00004390| 65 2d 6e 61 6d 65 2d 70 | 20 28 66 69 6c 65 29 20 |e-name-p| (file) | |000043a0| 22 5c 0a 52 65 74 75 72 | 6e 20 6e 6f 6e 2d 6e 69 |"\.Retur|n non-ni| |000043b0| 6c 20 69 66 20 46 49 4c | 45 20 69 73 20 61 20 62 |l if FIL|E is a b| |000043c0| 61 63 6b 75 70 20 66 69 | 6c 65 20 6e 61 6d 65 20 |ackup fi|le name | |000043d0| 28 6e 75 6d 65 72 69 63 | 20 6f 72 20 6e 6f 74 29 |(numeric| or not)| |000043e0| 2e 0a 54 68 69 73 20 69 | 73 20 61 20 73 65 70 61 |..This i|s a sepa| |000043f0| 72 61 74 65 20 66 75 6e | 63 74 69 6f 6e 20 73 6f |rate fun|ction so| |00004400| 20 79 6f 75 20 63 61 6e | 20 72 65 64 65 66 69 6e | you can| redefin| |00004410| 65 20 69 74 20 66 6f 72 | 20 63 75 73 74 6f 6d 69 |e it for| customi| |00004420| 7a 61 74 69 6f 6e 2e 0a | 59 6f 75 20 6d 61 79 20 |zation..|You may | |00004430| 6e 65 65 64 20 74 6f 20 | 72 65 64 65 66 69 6e 65 |need to |redefine| |00004440| 20 66 69 6c 65 2d 6e 61 | 6d 65 2d 73 61 6e 73 2d | file-na|me-sans-| |00004450| 76 65 72 73 69 6f 6e 73 | 20 61 73 20 77 65 6c 6c |versions| as well| |00004460| 2e 22 20 28 62 79 74 65 | 2d 63 6f 64 65 20 22 c1 |." (byte|-code ".| |00004470| c2 08 5c 22 87 22 20 5b | 66 69 6c 65 20 73 74 72 |..\"." [|file str| |00004480| 69 6e 67 2d 6d 61 74 63 | 68 20 22 7e 24 22 5d 20 |ing-matc|h "~$"] | |00004490| 33 29 29 0a 0a 28 64 65 | 66 75 6e 20 66 69 6e 64 |3))..(de|fun find| |000044a0| 2d 62 61 63 6b 75 70 2d | 66 69 6c 65 2d 6e 61 6d |-backup-|file-nam| |000044b0| 65 20 28 66 6e 29 20 22 | 5c 0a 46 69 6e 64 20 61 |e (fn) "|\.Find a| |000044c0| 20 66 69 6c 65 20 6e 61 | 6d 65 20 66 6f 72 20 61 | file na|me for a| |000044d0| 20 62 61 63 6b 75 70 20 | 66 69 6c 65 2c 20 61 6e | backup |file, an| |000044e0| 64 20 73 75 67 67 65 73 | 74 69 6f 6e 73 20 66 6f |d sugges|tions fo| |000044f0| 72 20 64 65 6c 65 74 69 | 6f 6e 73 2e 0a 56 61 6c |r deleti|ons..Val| |00004500| 75 65 20 69 73 20 61 20 | 6c 69 73 74 20 77 68 6f |ue is a |list who| |00004510| 73 65 20 63 61 72 20 69 | 73 20 74 68 65 20 6e 61 |se car i|s the na| |00004520| 6d 65 20 66 6f 72 20 74 | 68 65 20 62 61 63 6b 75 |me for t|he backu| |00004530| 70 20 66 69 6c 65 0a 20 | 61 6e 64 20 77 68 6f 73 |p file. |and whos| |00004540| 65 20 63 64 72 20 69 73 | 20 61 20 6c 69 73 74 20 |e cdr is| a list | |00004550| 6f 66 20 6f 6c 64 20 76 | 65 72 73 69 6f 6e 73 20 |of old v|ersions | |00004560| 74 6f 20 63 6f 6e 73 69 | 64 65 72 20 64 65 6c 65 |to consi|der dele| |00004570| 74 69 6e 67 20 6e 6f 77 | 2e 22 20 28 62 79 74 65 |ting now|." (byte| |00004580| 2d 63 6f 64 65 20 22 08 | cd 3d 83 0d 00 ce 09 21 |-code ".|.=.....!| |00004590| 43 82 86 00 cf 09 21 d0 | 50 1a 0a 47 1b d1 0a d2 |C.....!.|P..G....| |000045a0| 09 21 5c 22 1c d3 d4 d5 | 0c 5c 22 d6 5c 22 1d d7 |.!\"....|.\".\"..| |000045b0| d8 d9 0d 42 5c 22 1e 06 | 08 86 35 00 0e 06 d9 56 |...B\"..|..5....V| |000045c0| 1e 07 da 0d 47 0e 09 0e | 0a db 24 1e 08 0e 07 3f |....G...|..$....?| |000045d0| 83 4f 00 ce 09 21 43 82 | 84 00 09 d0 dc 0e 06 54 |.O...!C.|.......T| |000045e0| 21 dd 52 0e 08 d9 56 85 | 68 00 de 0e 0a 0e 09 db |!.R...V.|h.......| |000045f0| 23 d9 59 85 83 00 d4 df | e0 0e 09 0d 5c 22 1e 0b |#.Y.....|....\"..| |00004600| e1 e0 0e 08 53 0e 0b 5c | 22 cc 5c 22 88 0e 0b 29 |....S..\|".\"...)| |00004610| 5c 22 42 2e 07 87 22 20 | 5b 76 65 72 73 69 6f 6e |\"B..." |[version| |00004620| 2d 63 6f 6e 74 72 6f 6c | 20 66 6e 20 62 61 73 65 |-control| fn base| |00004630| 2d 76 65 72 73 69 6f 6e | 73 20 62 76 2d 6c 65 6e |-version|s bv-len| |00004640| 67 74 68 20 70 6f 73 73 | 69 62 69 6c 69 74 69 65 |gth poss|ibilitie| |00004650| 73 20 76 65 72 73 69 6f | 6e 73 20 68 69 67 68 2d |s versio|ns high-| |00004660| 77 61 74 65 72 2d 6d 61 | 72 6b 20 64 65 73 65 72 |water-ma|rk deser| |00004670| 76 65 2d 76 65 72 73 69 | 6f 6e 73 2d 70 20 6e 75 |ve-versi|ons-p nu| |00004680| 6d 62 65 72 2d 74 6f 2d | 64 65 6c 65 74 65 20 6b |mber-to-|delete k| |00004690| 65 70 74 2d 6f 6c 64 2d | 76 65 72 73 69 6f 6e 73 |ept-old-|versions| |000046a0| 20 6b 65 70 74 2d 6e 65 | 77 2d 76 65 72 73 69 6f | kept-ne|w-versio| |000046b0| 6e 73 20 76 20 6e 69 6c | 20 6e 65 76 65 72 20 6d |ns v nil| never m| |000046c0| 61 6b 65 2d 62 61 63 6b | 75 70 2d 66 69 6c 65 2d |ake-back|up-file-| |000046d0| 6e 61 6d 65 20 66 69 6c | 65 2d 6e 61 6d 65 2d 6e |name fil|e-name-n| |000046e0| 6f 6e 64 69 72 65 63 74 | 6f 72 79 20 22 2e 7e 22 |ondirect|ory ".~"| |000046f0| 20 66 69 6c 65 2d 6e 61 | 6d 65 2d 61 6c 6c 2d 63 | file-na|me-all-c| |00004700| 6f 6d 70 6c 65 74 69 6f | 6e 73 20 66 69 6c 65 2d |ompletio|ns file-| |00004710| 6e 61 6d 65 2d 64 69 72 | 65 63 74 6f 72 79 20 73 |name-dir|ectory s| |00004720| 6f 72 74 20 6d 61 70 63 | 61 72 20 62 61 63 6b 75 |ort mapc|ar backu| |00004730| 70 2d 65 78 74 72 61 63 | 74 2d 76 65 72 73 69 6f |p-extrac|t-versio| |00004740| 6e 20 3c 20 61 70 70 6c | 79 20 6d 61 78 20 30 20 |n < appl|y max 0 | |00004750| 2d 20 2d 31 20 69 6e 74 | 2d 74 6f 2d 73 74 72 69 |- -1 int|-to-stri| |00004760| 6e 67 20 22 7e 22 20 2b | 20 28 6c 61 6d 62 64 61 |ng "~" +| (lambda| |00004770| 20 28 6e 29 20 28 62 79 | 74 65 2d 63 6f 64 65 20 | (n) (by|te-code | |00004780| 22 08 c2 c3 09 21 c4 52 | 87 22 20 5b 66 6e 20 6e |"....!.R|." [fn n| |00004790| 20 22 2e 7e 22 20 69 6e | 74 2d 74 6f 2d 73 74 72 | ".~" in|t-to-str| |000047a0| 69 6e 67 20 22 7e 22 5d | 20 35 29 29 20 6e 74 68 |ing "~"]| 5)) nth| |000047b0| 63 64 72 20 72 70 6c 61 | 63 64 5d 20 31 39 29 29 |cdr rpla|cd] 19))| |000047c0| 0a 0a 28 64 65 66 75 6e | 20 62 61 63 6b 75 70 2d |..(defun| backup-| |000047d0| 65 78 74 72 61 63 74 2d | 76 65 72 73 69 6f 6e 20 |extract-|version | |000047e0| 28 66 6e 29 20 28 62 79 | 74 65 2d 63 6f 64 65 20 |(fn) (by|te-code | |000047f0| 22 c2 c3 08 09 23 85 0d | 00 c4 c5 21 09 55 83 19 |"....#..|...!.U..| |00004800| 00 c6 08 09 c7 4f 21 82 | 1a 00 c5 87 22 20 5b 66 |.....O!.|...." [f| |00004810| 6e 20 62 76 2d 6c 65 6e | 67 74 68 20 73 74 72 69 |n bv-len|gth stri| |00004820| 6e 67 2d 6d 61 74 63 68 | 20 22 5b 30 2d 39 5d 2b |ng-match| "[0-9]+| |00004830| 7e 24 22 20 6d 61 74 63 | 68 2d 62 65 67 69 6e 6e |~$" matc|h-beginn| |00004840| 69 6e 67 20 30 20 73 74 | 72 69 6e 67 2d 74 6f 2d |ing 0 st|ring-to-| |00004850| 69 6e 74 20 2d 31 5d 20 | 36 29 29 0a 0a 28 64 65 |int -1] |6))..(de| |00004860| 66 75 6e 20 66 69 6c 65 | 2d 6e 6c 69 6e 6b 73 20 |fun file|-nlinks | |00004870| 28 66 69 6c 65 6e 61 6d | 65 29 20 22 5c 0a 52 65 |(filenam|e) "\.Re| |00004880| 74 75 72 6e 20 6e 75 6d | 62 65 72 20 6f 66 20 6e |turn num|ber of n| |00004890| 61 6d 65 73 20 66 69 6c | 65 20 46 49 4c 45 4e 41 |ames fil|e FILENA| |000048a0| 4d 45 20 68 61 73 2e 22 | 20 28 62 79 74 65 2d 63 |ME has."| (byte-c| |000048b0| 6f 64 65 20 22 c1 08 21 | 41 40 87 22 20 5b 66 69 |ode "..!|A@." [fi| |000048c0| 6c 65 6e 61 6d 65 20 66 | 69 6c 65 2d 61 74 74 72 |lename f|ile-attr| |000048d0| 69 62 75 74 65 73 5d 20 | 32 29 29 0a 0a 28 64 65 |ibutes] |2))..(de| |000048e0| 66 75 6e 20 73 61 76 65 | 2d 62 75 66 66 65 72 20 |fun save|-buffer | |000048f0| 28 26 6f 70 74 69 6f 6e | 61 6c 20 61 72 67 73 29 |(&option|al args)| |00004900| 20 22 5c 0a 53 61 76 65 | 20 63 75 72 72 65 6e 74 | "\.Save| current| |00004910| 20 62 75 66 66 65 72 20 | 69 6e 20 76 69 73 69 74 | buffer |in visit| |00004920| 65 64 20 66 69 6c 65 20 | 69 66 20 6d 6f 64 69 66 |ed file |if modif| |00004930| 69 65 64 2e 20 20 56 65 | 72 73 69 6f 6e 73 20 64 |ied. Ve|rsions d| |00004940| 65 73 63 72 69 62 65 64 | 20 62 65 6c 6f 77 2e 0a |escribed| below..| |00004950| 0a 42 79 20 64 65 66 61 | 75 6c 74 2c 20 6d 61 6b |.By defa|ult, mak| |00004960| 65 73 20 74 68 65 20 70 | 72 65 76 69 6f 75 73 20 |es the p|revious | |00004970| 76 65 72 73 69 6f 6e 20 | 69 6e 74 6f 20 61 20 62 |version |into a b| |00004980| 61 63 6b 75 70 20 66 69 | 6c 65 0a 20 69 66 20 70 |ackup fi|le. if p| |00004990| 72 65 76 69 6f 75 73 6c | 79 20 72 65 71 75 65 73 |reviousl|y reques| |000049a0| 74 65 64 20 6f 72 20 69 | 66 20 74 68 69 73 20 69 |ted or i|f this i| |000049b0| 73 20 74 68 65 20 66 69 | 72 73 74 20 73 61 76 65 |s the fi|rst save| |000049c0| 2e 0a 57 69 74 68 20 31 | 20 6f 72 20 33 20 5c 5c |..With 1| or 3 \\| |000049d0| 5b 75 6e 69 76 65 72 73 | 61 6c 2d 61 72 67 75 6d |[univers|al-argum| |000049e0| 65 6e 74 5d 27 73 2c 20 | 6d 61 72 6b 73 20 74 68 |ent]'s, |marks th| |000049f0| 69 73 20 76 65 72 73 69 | 6f 6e 0a 20 74 6f 20 62 |is versi|on. to b| |00004a00| 65 63 6f 6d 65 20 61 20 | 62 61 63 6b 75 70 20 77 |ecome a |backup w| |00004a10| 68 65 6e 20 74 68 65 20 | 6e 65 78 74 20 73 61 76 |hen the |next sav| |00004a20| 65 20 69 73 20 64 6f 6e | 65 2e 0a 57 69 74 68 20 |e is don|e..With | |00004a30| 32 20 6f 72 20 33 20 5c | 5c 5b 75 6e 69 76 65 72 |2 or 3 \|\[univer| |00004a40| 73 61 6c 2d 61 72 67 75 | 6d 65 6e 74 5d 27 73 2c |sal-argu|ment]'s,| |00004a50| 0a 20 75 6e 63 6f 6e 64 | 69 74 69 6f 6e 61 6c 6c |. uncond|itionall| |00004a60| 79 20 6d 61 6b 65 73 20 | 74 68 65 20 70 72 65 76 |y makes |the prev| |00004a70| 69 6f 75 73 20 76 65 72 | 73 69 6f 6e 20 69 6e 74 |ious ver|sion int| |00004a80| 6f 20 61 20 62 61 63 6b | 75 70 20 66 69 6c 65 2e |o a back|up file.| |00004a90| 0a 57 69 74 68 20 61 72 | 67 75 6d 65 6e 74 20 6f |.With ar|gument o| |00004aa0| 66 20 30 2c 20 6e 65 76 | 65 72 20 6d 61 6b 65 73 |f 0, nev|er makes| |00004ab0| 20 74 68 65 20 70 72 65 | 76 69 6f 75 73 20 76 65 | the pre|vious ve| |00004ac0| 72 73 69 6f 6e 20 69 6e | 74 6f 20 61 20 62 61 63 |rsion in|to a bac| |00004ad0| 6b 75 70 20 66 69 6c 65 | 2e 0a 0a 49 66 20 61 20 |kup file|...If a | |00004ae0| 66 69 6c 65 27 73 20 6e | 61 6d 65 20 69 73 20 46 |file's n|ame is F| |00004af0| 4f 4f 2c 20 74 68 65 20 | 6e 61 6d 65 73 20 6f 66 |OO, the |names of| |00004b00| 20 69 74 73 20 6e 75 6d | 62 65 72 65 64 20 62 61 | its num|bered ba| |00004b10| 63 6b 75 70 20 76 65 72 | 73 69 6f 6e 73 20 61 72 |ckup ver|sions ar| |00004b20| 65 0a 20 46 4f 4f 2e 7e | 69 7e 20 66 6f 72 20 76 |e. FOO.~|i~ for v| |00004b30| 61 72 69 6f 75 73 20 69 | 6e 74 65 67 65 72 73 20 |arious i|ntegers | |00004b40| 69 2e 20 20 41 20 6e 6f | 6e 2d 6e 75 6d 62 65 72 |i. A no|n-number| |00004b50| 65 64 20 62 61 63 6b 75 | 70 20 66 69 6c 65 20 69 |ed backu|p file i| |00004b60| 73 20 63 61 6c 6c 65 64 | 20 46 4f 4f 7e 2e 0a 4e |s called| FOO~..N| |00004b70| 75 6d 65 72 69 63 20 62 | 61 63 6b 75 70 73 20 28 |umeric b|ackups (| |00004b80| 72 61 74 68 65 72 20 74 | 68 61 6e 20 46 4f 4f 7e |rather t|han FOO~| |00004b90| 29 20 77 69 6c 6c 20 62 | 65 20 6d 61 64 65 20 69 |) will b|e made i| |00004ba0| 66 20 76 61 6c 75 65 20 | 6f 66 0a 20 60 76 65 72 |f value |of. `ver| |00004bb0| 73 69 6f 6e 2d 63 6f 6e | 74 72 6f 6c 27 20 69 73 |sion-con|trol' is| |00004bc0| 20 6e 6f 74 20 74 68 65 | 20 61 74 6f 6d 20 60 6e | not the| atom `n| |00004bd0| 65 76 65 72 27 20 61 6e | 64 20 65 69 74 68 65 72 |ever' an|d either| |00004be0| 20 74 68 65 72 65 20 61 | 72 65 20 61 6c 72 65 61 | there a|re alrea| |00004bf0| 64 79 0a 20 6e 75 6d 65 | 72 69 63 20 76 65 72 73 |dy. nume|ric vers| |00004c00| 69 6f 6e 73 20 6f 66 20 | 74 68 65 20 66 69 6c 65 |ions of |the file| |00004c10| 20 62 65 69 6e 67 20 62 | 61 63 6b 65 64 20 75 70 | being b|acked up| |00004c20| 2c 20 6f 72 20 60 76 65 | 72 73 69 6f 6e 2d 63 6f |, or `ve|rsion-co| |00004c30| 6e 74 72 6f 6c 27 20 69 | 73 0a 20 6e 6f 6e 2d 6e |ntrol' i|s. non-n| |00004c40| 69 6c 2e 0a 57 65 20 64 | 6f 6e 27 74 20 77 61 6e |il..We d|on't wan| |00004c50| 74 20 65 78 63 65 73 73 | 69 76 65 20 76 65 72 73 |t excess|ive vers| |00004c60| 69 6f 6e 73 20 70 69 6c | 69 6e 67 20 75 70 2c 20 |ions pil|ing up, | |00004c70| 73 6f 20 74 68 65 72 65 | 20 61 72 65 20 76 61 72 |so there| are var| |00004c80| 69 61 62 6c 65 73 0a 20 | 60 6b 65 70 74 2d 6f 6c |iables. |`kept-ol| |00004c90| 64 2d 76 65 72 73 69 6f | 6e 73 27 2c 20 77 68 69 |d-versio|ns', whi| |00004ca0| 63 68 20 74 65 6c 6c 73 | 20 45 6d 61 63 73 20 68 |ch tells| Emacs h| |00004cb0| 6f 77 20 6d 61 6e 79 20 | 6f 6c 64 65 73 74 20 76 |ow many |oldest v| |00004cc0| 65 72 73 69 6f 6e 73 20 | 74 6f 20 6b 65 65 70 2c |ersions |to keep,| |00004cd0| 0a 20 61 6e 64 20 60 6b | 65 70 74 2d 6e 65 77 2d |. and `k|ept-new-| |00004ce0| 76 65 72 73 69 6f 6e 73 | 27 2c 20 77 68 69 63 68 |versions|', which| |00004cf0| 20 74 65 6c 6c 73 20 68 | 6f 77 20 6d 61 6e 79 20 | tells h|ow many | |00004d00| 6e 65 77 65 73 74 20 76 | 65 72 73 69 6f 6e 73 20 |newest v|ersions | |00004d10| 74 6f 20 6b 65 65 70 2e | 0a 20 44 65 66 61 75 6c |to keep.|. Defaul| |00004d20| 74 73 20 61 72 65 20 32 | 20 6f 6c 64 20 76 65 72 |ts are 2| old ver| |00004d30| 73 69 6f 6e 73 20 61 6e | 64 20 32 20 6e 65 77 2e |sions an|d 2 new.| |00004d40| 0a 60 64 69 72 65 64 2d | 6b 65 70 74 2d 76 65 72 |.`dired-|kept-ver| |00004d50| 73 69 6f 6e 73 27 20 63 | 6f 6e 74 72 6f 6c 73 20 |sions' c|ontrols | |00004d60| 64 69 72 65 64 27 73 20 | 63 6c 65 61 6e 2d 64 69 |dired's |clean-di| |00004d70| 72 65 63 74 6f 72 79 20 | 28 2e 29 20 63 6f 6d 6d |rectory |(.) comm| |00004d80| 61 6e 64 2e 0a 49 66 20 | 60 74 72 69 6d 2d 76 65 |and..If |`trim-ve| |00004d90| 72 73 69 6f 6e 73 2d 77 | 69 74 68 6f 75 74 2d 61 |rsions-w|ithout-a| |00004da0| 73 6b 69 6e 67 27 20 69 | 73 20 6e 69 6c 2c 20 73 |sking' i|s nil, s| |00004db0| 79 73 74 65 6d 20 77 69 | 6c 6c 20 71 75 65 72 79 |ystem wi|ll query| |00004dc0| 20 75 73 65 72 0a 20 62 | 65 66 6f 72 65 20 74 72 | user. b|efore tr| |00004dd0| 69 6d 6d 69 6e 67 20 76 | 65 72 73 69 6f 6e 73 2e |imming v|ersions.| |00004de0| 20 20 4f 74 68 65 72 77 | 69 73 65 20 69 74 20 64 | Otherw|ise it d| |00004df0| 6f 65 73 20 69 74 20 73 | 69 6c 65 6e 74 6c 79 2e |oes it s|ilently.| |00004e00| 22 20 28 69 6e 74 65 72 | 61 63 74 69 76 65 20 22 |" (inter|active "| |00004e10| 70 22 29 20 28 62 79 74 | 65 2d 63 6f 64 65 20 22 |p") (byt|e-code "| |00004e20| c5 88 c6 20 c7 20 c8 56 | 0a 85 10 00 0b c9 3d 3f |... . .V|......=?| |00004e30| 1a 19 18 08 85 20 00 0b | ca 3e 85 20 00 c5 89 14 |..... ..|.>. ....| |00004e40| 88 08 85 26 00 09 85 2e | 00 cb cc cd 20 5c 22 88 |...&....|.... \".| |00004e50| ce 20 88 08 85 3f 00 0b | cf 3e 85 3f 00 c5 89 14 |. ...?..|.>.?....| |00004e60| 2b 87 22 20 5b 6d 6f 64 | 70 20 6c 61 72 67 65 20 |+." [mod|p large | |00004e70| 6d 61 6b 65 2d 62 61 63 | 6b 75 70 2d 66 69 6c 65 |make-bac|kup-file| |00004e80| 73 20 61 72 67 73 20 62 | 75 66 66 65 72 2d 62 61 |s args b|uffer-ba| |00004e90| 63 6b 65 64 2d 75 70 20 | 6e 69 6c 20 62 75 66 66 |cked-up |nil buff| |00004ea0| 65 72 2d 6d 6f 64 69 66 | 69 65 64 2d 70 20 62 75 |er-modif|ied-p bu| |00004eb0| 66 66 65 72 2d 73 69 7a | 65 20 35 30 30 30 30 20 |ffer-siz|e 50000 | |00004ec0| 30 20 28 31 36 20 36 34 | 29 20 6d 65 73 73 61 67 |0 (16 64|) messag| |00004ed0| 65 20 22 53 61 76 69 6e | 67 20 66 69 6c 65 20 25 |e "Savin|g file %| |00004ee0| 73 2e 2e 2e 22 20 62 75 | 66 66 65 72 2d 66 69 6c |s..." bu|ffer-fil| |00004ef0| 65 2d 6e 61 6d 65 20 62 | 61 73 69 63 2d 73 61 76 |e-name b|asic-sav| |00004f00| 65 2d 62 75 66 66 65 72 | 20 28 34 20 36 34 29 5d |e-buffer| (4 64)]| |00004f10| 20 37 29 29 0a 0a 28 64 | 65 66 75 6e 20 64 65 6c | 7))..(d|efun del| |00004f20| 65 74 65 2d 61 75 74 6f | 2d 73 61 76 65 2d 66 69 |ete-auto|-save-fi| |00004f30| 6c 65 2d 69 66 2d 6e 65 | 63 65 73 73 61 72 79 20 |le-if-ne|cessary | |00004f40| 6e 69 6c 20 22 5c 0a 44 | 65 6c 65 74 65 20 74 68 |nil "\.D|elete th| |00004f50| 65 20 61 75 74 6f 2d 73 | 61 76 65 20 66 69 6c 65 |e auto-s|ave file| |00004f60| 6e 61 6d 65 20 66 6f 72 | 20 74 68 65 20 63 75 72 |name for| the cur| |00004f70| 72 65 6e 74 20 62 75 66 | 66 65 72 20 28 69 66 20 |rent buf|fer (if | |00004f80| 69 74 20 68 61 73 20 6f | 6e 65 29 0a 69 66 20 76 |it has o|ne).if v| |00004f90| 61 72 69 61 62 6c 65 20 | 20 64 65 6c 65 74 65 2d |ariable | delete-| |00004fa0| 61 75 74 6f 2d 73 61 76 | 65 2d 66 69 6c 65 73 20 |auto-sav|e-files | |00004fb0| 20 69 73 20 6e 6f 6e 2d | 6e 69 6c 2e 22 20 28 62 | is non-|nil." (b| |00004fc0| 79 74 65 2d 63 6f 64 65 | 20 22 08 85 17 00 09 85 |yte-code| "......| |00004fd0| 17 00 c3 0a 08 5c 22 3f | 85 17 00 c4 c5 c6 8f 88 |.....\"?|........| |00004fe0| c7 20 87 22 20 5b 62 75 | 66 66 65 72 2d 61 75 74 |. ." [bu|ffer-aut| |00004ff0| 6f 2d 73 61 76 65 2d 66 | 69 6c 65 2d 6e 61 6d 65 |o-save-f|ile-name| |00005000| 20 64 65 6c 65 74 65 2d | 61 75 74 6f 2d 73 61 76 | delete-|auto-sav| |00005010| 65 2d 66 69 6c 65 73 20 | 62 75 66 66 65 72 2d 66 |e-files |buffer-f| |00005020| 69 6c 65 2d 6e 61 6d 65 | 20 73 74 72 69 6e 67 3d |ile-name| string=| |00005030| 20 6e 69 6c 20 28 62 79 | 74 65 2d 63 6f 64 65 20 | nil (by|te-code | |00005040| 22 c1 08 21 87 22 20 5b | 62 75 66 66 65 72 2d 61 |"..!." [|buffer-a| |00005050| 75 74 6f 2d 73 61 76 65 | 2d 66 69 6c 65 2d 6e 61 |uto-save|-file-na| |00005060| 6d 65 20 64 65 6c 65 74 | 65 2d 66 69 6c 65 5d 20 |me delet|e-file] | |00005070| 32 29 20 28 28 66 69 6c | 65 2d 65 72 72 6f 72 20 |2) ((fil|e-error | |00005080| 28 62 79 74 65 2d 63 6f | 64 65 20 22 c0 87 22 20 |(byte-co|de ".." | |00005090| 5b 6e 69 6c 5d 20 31 29 | 29 29 20 73 65 74 2d 62 |[nil] 1)|)) set-b| |000050a0| 75 66 66 65 72 2d 61 75 | 74 6f 2d 73 61 76 65 64 |uffer-au|to-saved| |000050b0| 5d 20 34 29 29 0a 0a 28 | 64 65 66 75 6e 20 62 61 |] 4))..(|defun ba| |000050c0| 73 69 63 2d 73 61 76 65 | 2d 62 75 66 66 65 72 20 |sic-save|-buffer | |000050d0| 6e 69 6c 20 22 5c 0a 53 | 61 76 65 20 74 68 65 20 |nil "\.S|ave the | |000050e0| 63 75 72 72 65 6e 74 20 | 62 75 66 66 65 72 20 69 |current |buffer i| |000050f0| 6e 20 69 74 73 20 76 69 | 73 69 74 65 64 20 66 69 |n its vi|sited fi| |00005100| 6c 65 2c 20 69 66 20 69 | 74 20 68 61 73 20 62 65 |le, if i|t has be| |00005110| 65 6e 20 6d 6f 64 69 66 | 69 65 64 2e 22 20 28 69 |en modif|ied." (i| |00005120| 6e 74 65 72 61 63 74 69 | 76 65 29 20 28 62 79 74 |nteracti|ve) (byt| |00005130| 65 2d 63 6f 64 65 20 22 | c3 88 d1 20 83 27 01 c3 |e-code "|... .'..| |00005140| c3 19 18 0a 86 1f 00 d2 | d3 d4 21 c3 5c 22 12 d5 |........|..!.\"..| |00005150| 0a 21 89 14 88 d6 0d 21 | 88 d7 0a 21 3f 85 3b 00 |.!.....!|...!?.;.| |00005160| d8 d9 da db 0a 21 5c 22 | 21 83 38 00 c6 89 11 82 |.....!\"|!.8.....| |00005170| 3b 00 dc dd 21 88 de 70 | 21 86 52 00 df 0a 21 3f |;...!..p|!.R...!?| |00005180| 86 52 00 d8 e0 21 86 52 | 00 dc e1 21 88 0e 07 86 |.R...!.R|...!....| |00005190| 5c 5c 00 e2 20 89 10 88 | 8c e3 20 88 64 e4 56 85 |\\.. ...|.. .d.V.| |000051a0| 8d 00 e5 64 53 66 e6 5c | 22 85 8d 00 0e 08 c6 3d |...dSf.\|"......=| |000051b0| 86 83 00 0e 08 85 83 00 | d8 d9 e7 e8 20 5c 22 21 |........|.... \"!| |000051c0| 85 8d 00 8a 64 62 88 e6 | 63 29 88 0e 0a c3 1e 0b |....db..|c)......| |000051d0| 1e 09 0e 09 85 a3 00 e9 | 0e 09 40 21 89 16 0b 3f |........|..@!...?| |000051e0| 85 b0 00 0e 09 41 89 16 | 09 88 82 95 00 88 0e 0b |.....A..|........| |000051f0| 83 bc 00 c3 89 10 82 15 | 01 0e 0b 3f 85 15 01 0e |........|...?....| |00005200| 0c 83 ed 00 c6 c3 0a ea | 50 1e 0f 1e 0e 1e 0d c3 |........|P.......| |00005210| eb ec 8f 88 ed 8e ee 20 | 88 ef 65 64 0a c3 c6 25 |....... |..ed...%| |00005220| 88 c3 89 16 0d 29 2b 82 | 15 01 0e 10 f0 3d 85 f9 |.....)+.|.....=..| |00005230| 00 c3 10 c3 89 11 88 09 | 85 00 01 08 3f 85 0d 01 |........|....?...| |00005240| f1 0a 21 89 10 88 f2 0a | f3 5c 22 88 ef 65 64 0a |..!.....|.\"..ed.| |00005250| c3 c6 25 2a 88 08 85 1f | 01 c3 f4 f5 8f 29 88 f6 |..%*....|.....)..| |00005260| 20 2a 82 2a 01 f7 f8 21 | 87 22 20 5b 73 65 74 6d | *.*...!|." [setm| |00005270| 6f 64 65 73 20 74 65 6d | 70 73 65 74 6d 6f 64 65 |odes tem|psetmode| |00005280| 73 20 62 75 66 66 65 72 | 2d 66 69 6c 65 2d 6e 61 |s buffer|-file-na| |00005290| 6d 65 20 6e 69 6c 20 64 | 65 66 61 75 6c 74 2d 64 |me nil d|efault-d| |000052a0| 69 72 65 63 74 6f 72 79 | 20 61 75 74 6f 2d 73 61 |irectory| auto-sa| |000052b0| 76 65 2d 64 65 66 61 75 | 6c 74 20 74 20 62 75 66 |ve-defau|lt t buf| |000052c0| 66 65 72 2d 62 61 63 6b | 65 64 2d 75 70 20 72 65 |fer-back|ed-up re| |000052d0| 71 75 69 72 65 2d 66 69 | 6e 61 6c 2d 6e 65 77 6c |quire-fi|nal-newl| |000052e0| 69 6e 65 20 68 6f 6f 6b | 73 20 77 72 69 74 65 2d |ine hook|s write-| |000052f0| 66 69 6c 65 2d 68 6f 6f | 6b 73 20 64 6f 6e 65 20 |file-hoo|ks done | |00005300| 66 69 6c 65 2d 70 72 65 | 63 69 6f 75 73 2d 66 6c |file-pre|cious-fl| |00005310| 61 67 20 72 65 6e 61 6d | 65 20 6e 6f 64 65 6c 65 |ag renam|e nodele| |00005320| 74 65 20 66 69 6c 65 20 | 73 79 73 74 65 6d 2d 74 |te file |system-t| |00005330| 79 70 65 20 62 75 66 66 | 65 72 2d 6d 6f 64 69 66 |ype buff|er-modif| |00005340| 69 65 64 2d 70 20 65 78 | 70 61 6e 64 2d 66 69 6c |ied-p ex|pand-fil| |00005350| 65 2d 6e 61 6d 65 20 72 | 65 61 64 2d 66 69 6c 65 |e-name r|ead-file| |00005360| 2d 6e 61 6d 65 20 22 46 | 69 6c 65 20 74 6f 20 73 |-name "F|ile to s| |00005370| 61 76 65 20 69 6e 3a 20 | 22 20 66 69 6c 65 2d 6e |ave in: |" file-n| |00005380| 61 6d 65 2d 64 69 72 65 | 63 74 6f 72 79 20 61 75 |ame-dire|ctory au| |00005390| 74 6f 2d 73 61 76 65 2d | 6d 6f 64 65 20 66 69 6c |to-save-|mode fil| |000053a0| 65 2d 77 72 69 74 61 62 | 6c 65 2d 70 20 79 65 73 |e-writab|le-p yes| |000053b0| 2d 6f 72 2d 6e 6f 2d 70 | 20 66 6f 72 6d 61 74 20 |-or-no-p| format | |000053c0| 22 46 69 6c 65 20 25 73 | 20 69 73 20 77 72 69 74 |"File %s| is writ| |000053d0| 65 2d 70 72 6f 74 65 63 | 74 65 64 3b 20 74 72 79 |e-protec|ted; try| |000053e0| 20 74 6f 20 73 61 76 65 | 20 61 6e 79 77 61 79 3f | to save| anyway?| |000053f0| 20 22 20 66 69 6c 65 2d | 6e 61 6d 65 2d 6e 6f 6e | " file-|name-non| |00005400| 64 69 72 65 63 74 6f 72 | 79 20 65 72 72 6f 72 20 |director|y error | |00005410| 22 41 74 74 65 6d 70 74 | 20 74 6f 20 73 61 76 65 |"Attempt| to save| |00005420| 20 74 6f 20 61 20 66 69 | 6c 65 20 77 68 69 63 68 | to a fi|le which| |00005430| 20 79 6f 75 20 61 72 65 | 6e 27 74 20 61 6c 6c 6f | you are|n't allo| |00005440| 77 65 64 20 74 6f 20 77 | 72 69 74 65 22 20 76 65 |wed to w|rite" ve| |00005450| 72 69 66 79 2d 76 69 73 | 69 74 65 64 2d 66 69 6c |rify-vis|ited-fil| |00005460| 65 2d 6d 6f 64 74 69 6d | 65 20 66 69 6c 65 2d 65 |e-modtim|e file-e| |00005470| 78 69 73 74 73 2d 70 20 | 22 44 69 73 6b 20 66 69 |xists-p |"Disk fi| |00005480| 6c 65 20 68 61 73 20 63 | 68 61 6e 67 65 64 20 73 |le has c|hanged s| |00005490| 69 6e 63 65 20 76 69 73 | 69 74 65 64 20 6f 72 20 |ince vis|ited or | |000054a0| 73 61 76 65 64 2e 20 20 | 53 61 76 65 20 61 6e 79 |saved. |Save any| |000054b0| 77 61 79 3f 20 22 20 22 | 53 61 76 65 20 6e 6f 74 |way? " "|Save not| |000054c0| 20 63 6f 6e 66 69 72 6d | 65 64 22 20 62 61 63 6b | confirm|ed" back| |000054d0| 75 70 2d 62 75 66 66 65 | 72 20 77 69 64 65 6e 20 |up-buffe|r widen | |000054e0| 31 20 2f 3d 20 31 30 20 | 22 42 75 66 66 65 72 20 |1 /= 10 |"Buffer | |000054f0| 25 73 20 64 6f 65 73 20 | 6e 6f 74 20 65 6e 64 20 |%s does |not end | |00005500| 69 6e 20 6e 65 77 6c 69 | 6e 65 2e 20 20 41 64 64 |in newli|ne. Add| |00005510| 20 6f 6e 65 3f 20 22 20 | 62 75 66 66 65 72 2d 6e | one? " |buffer-n| |00005520| 61 6d 65 20 66 75 6e 63 | 61 6c 6c 20 22 23 22 20 |ame func|all "#" | |00005530| 28 62 79 74 65 2d 63 6f | 64 65 20 22 c4 08 09 c2 |(byte-co|de "....| |00005540| 23 88 c5 09 21 89 13 87 | 22 20 5b 62 75 66 66 65 |#...!...|" [buffe| |00005550| 72 2d 66 69 6c 65 2d 6e | 61 6d 65 20 66 69 6c 65 |r-file-n|ame file| |00005560| 20 74 20 73 65 74 6d 6f | 64 65 73 20 72 65 6e 61 | t setmo|des rena| |00005570| 6d 65 2d 66 69 6c 65 20 | 66 69 6c 65 2d 6d 6f 64 |me-file |file-mod| |00005580| 65 73 5d 20 34 29 20 28 | 28 66 69 6c 65 2d 65 72 |es] 4) (|(file-er| |00005590| 72 6f 72 20 28 62 79 74 | 65 2d 63 6f 64 65 20 22 |ror (byt|e-code "| |000055a0| c1 10 c3 89 12 87 22 20 | 5b 72 65 6e 61 6d 65 20 |......" |[rename | |000055b0| 6e 69 6c 20 6e 6f 64 65 | 6c 65 74 65 20 74 5d 20 |nil node|lete t] | |000055c0| 32 29 29 29 20 28 28 62 | 79 74 65 2d 63 6f 64 65 |2))) ((b|yte-code| |000055d0| 20 22 08 83 0f 00 c5 09 | 0a c3 23 88 c6 20 82 17 | "......|..#.. ..| |000055e0| 00 0c 86 17 00 c7 c8 c9 | 8f 87 22 20 5b 72 65 6e |........|.." [ren| |000055f0| 61 6d 65 20 66 69 6c 65 | 20 62 75 66 66 65 72 2d |ame file| buffer-| |00005600| 66 69 6c 65 2d 6e 61 6d | 65 20 74 20 6e 6f 64 65 |file-nam|e t node| |00005610| 6c 65 74 65 20 72 65 6e | 61 6d 65 2d 66 69 6c 65 |lete ren|ame-file| |00005620| 20 63 6c 65 61 72 2d 76 | 69 73 69 74 65 64 2d 66 | clear-v|isited-f| |00005630| 69 6c 65 2d 6d 6f 64 74 | 69 6d 65 20 6e 69 6c 20 |ile-modt|ime nil | |00005640| 28 62 79 74 65 2d 63 6f | 64 65 20 22 c1 08 21 87 |(byte-co|de "..!.| |00005650| 22 20 5b 66 69 6c 65 20 | 64 65 6c 65 74 65 2d 66 |" [file |delete-f| |00005660| 69 6c 65 5d 20 32 29 20 | 28 28 65 72 72 6f 72 20 |ile] 2) |((error | |00005670| 28 62 79 74 65 2d 63 6f | 64 65 20 22 c0 87 22 20 |(byte-co|de ".." | |00005680| 5b 6e 69 6c 5d 20 31 29 | 29 29 5d 20 35 29 29 20 |[nil] 1)|))] 5)) | |00005690| 63 6c 65 61 72 2d 76 69 | 73 69 74 65 64 2d 66 69 |clear-vi|sited-fi| |000056a0| 6c 65 2d 6d 6f 64 74 69 | 6d 65 20 77 72 69 74 65 |le-modti|me write| |000056b0| 2d 72 65 67 69 6f 6e 20 | 76 61 78 2d 76 6d 73 20 |-region |vax-vms | |000056c0| 66 69 6c 65 2d 6d 6f 64 | 65 73 20 73 65 74 2d 66 |file-mod|es set-f| |000056d0| 69 6c 65 2d 6d 6f 64 65 | 73 20 35 31 31 20 28 62 |ile-mode|s 511 (b| |000056e0| 79 74 65 2d 63 6f 64 65 | 20 22 c2 08 09 5c 22 87 |yte-code| "...\".| |000056f0| 22 20 5b 62 75 66 66 65 | 72 2d 66 69 6c 65 2d 6e |" [buffe|r-file-n| |00005700| 61 6d 65 20 73 65 74 6d | 6f 64 65 73 20 73 65 74 |ame setm|odes set| |00005710| 2d 66 69 6c 65 2d 6d 6f | 64 65 73 5d 20 33 29 20 |-file-mo|des] 3) | |00005720| 28 28 65 72 72 6f 72 20 | 28 62 79 74 65 2d 63 6f |((error |(byte-co| |00005730| 64 65 20 22 c0 87 22 20 | 5b 6e 69 6c 5d 20 31 29 |de ".." |[nil] 1)| |00005740| 29 29 20 64 65 6c 65 74 | 65 2d 61 75 74 6f 2d 73 |)) delet|e-auto-s| |00005750| 61 76 65 2d 66 69 6c 65 | 2d 69 66 2d 6e 65 63 65 |ave-file|-if-nece| |00005760| 73 73 61 72 79 20 6d 65 | 73 73 61 67 65 20 22 28 |ssary me|ssage "(| |00005770| 4e 6f 20 63 68 61 6e 67 | 65 73 20 6e 65 65 64 20 |No chang|es need | |00005780| 74 6f 20 62 65 20 73 61 | 76 65 64 29 22 5d 20 33 |to be sa|ved)"] 3| |00005790| 31 29 29 0a 0a 28 64 65 | 66 75 6e 20 73 61 76 65 |1))..(de|fun save| |000057a0| 2d 73 6f 6d 65 2d 62 75 | 66 66 65 72 73 20 28 26 |-some-bu|ffers (&| |000057b0| 6f 70 74 69 6f 6e 61 6c | 20 61 72 67 20 65 78 69 |optional| arg exi| |000057c0| 74 69 6e 67 29 20 22 5c | 0a 53 61 76 65 20 73 6f |ting) "\|.Save so| |000057d0| 6d 65 20 6d 6f 64 69 66 | 69 65 64 20 66 69 6c 65 |me modif|ied file| |000057e0| 2d 76 69 73 69 74 69 6e | 67 20 62 75 66 66 65 72 |-visitin|g buffer| |000057f0| 73 2e 20 20 41 73 6b 73 | 20 75 73 65 72 20 61 62 |s. Asks| user ab| |00005800| 6f 75 74 20 65 61 63 68 | 20 6f 6e 65 2e 0a 4f 70 |out each| one..Op| |00005810| 74 69 6f 6e 61 6c 20 61 | 72 67 75 6d 65 6e 74 20 |tional a|rgument | |00005820| 28 74 68 65 20 70 72 65 | 66 69 78 29 20 6e 6f 6e |(the pre|fix) non| |00005830| 2d 6e 69 6c 20 6d 65 61 | 6e 73 20 73 61 76 65 20 |-nil mea|ns save | |00005840| 61 6c 6c 20 77 69 74 68 | 20 6e 6f 20 71 75 65 73 |all with| no ques| |00005850| 74 69 6f 6e 73 2e 0a 4f | 70 74 69 6f 6e 61 6c 20 |tions..O|ptional | |00005860| 73 65 63 6f 6e 64 20 61 | 72 67 75 6d 65 6e 74 20 |second a|rgument | |00005870| 45 58 49 54 49 4e 47 20 | 6d 65 61 6e 73 20 61 73 |EXITING |means as| |00005880| 6b 20 61 62 6f 75 74 20 | 63 65 72 74 61 69 6e 20 |k about |certain | |00005890| 6e 6f 6e 2d 66 69 6c 65 | 20 62 75 66 66 65 72 73 |non-file| buffers| |000058a0| 0a 20 61 73 20 77 65 6c | 6c 20 61 73 20 61 62 6f |. as wel|l as abo| |000058b0| 75 74 20 66 69 6c 65 20 | 62 75 66 66 65 72 73 2e |ut file |buffers.| |000058c0| 22 20 28 69 6e 74 65 72 | 61 63 74 69 76 65 20 22 |" (inter|active "| |000058d0| 50 22 29 20 28 62 79 74 | 65 2d 63 6f 64 65 20 22 |P") (byt|e-code "| |000058e0| cb 88 cb cc 20 19 18 09 | 85 5a 00 09 40 1a cd 0a |.... ...|.Z..@...| |000058f0| 21 85 50 00 8a 0a 71 88 | 0b 86 28 00 0c 85 28 00 |!.P...q.|..(...(.| |00005900| 0d 85 28 00 ce 20 cf 56 | 85 4f 00 c6 89 10 85 4f |..(.. .V|.O.....O| |00005910| 00 0e 07 86 48 00 d0 0b | 83 42 00 d1 d2 0b 5c 22 |....H...|.B....\"| |00005920| 82 47 00 d1 d3 d4 20 5c | 22 21 85 4f 00 cb d5 d6 |.G.... \|"!.O....| |00005930| 8f 29 29 88 09 41 89 11 | 88 82 07 00 88 0e 08 85 |.))..A..|........| |00005940| 80 00 0e 09 85 80 00 c6 | 89 10 88 0e 07 86 75 00 |........|......u.| |00005950| d0 d1 d7 0e 0a 5c 22 21 | 85 7b 00 d8 cb 21 88 cb |.....\"!|.{...!..| |00005960| 89 16 09 88 08 83 8b 00 | d9 da 21 82 8e 00 d9 db |........|..!.....| |00005970| 21 2a 87 22 20 5b 63 6f | 6e 73 69 64 65 72 65 64 |!*." [co|nsidered| |00005980| 20 6c 69 73 74 20 62 75 | 66 66 65 72 20 62 75 66 | list bu|ffer buf| |00005990| 66 65 72 2d 66 69 6c 65 | 2d 6e 61 6d 65 20 65 78 |fer-file|-name ex| |000059a0| 69 74 69 6e 67 20 62 75 | 66 66 65 72 2d 6f 66 66 |iting bu|ffer-off| |000059b0| 65 72 2d 73 61 76 65 20 | 74 20 61 72 67 20 73 61 |er-save |t arg sa| |000059c0| 76 65 2d 61 62 62 72 65 | 76 73 20 61 62 62 72 65 |ve-abbre|vs abbre| |000059d0| 76 73 2d 63 68 61 6e 67 | 65 64 20 61 62 62 72 65 |vs-chang|ed abbre| |000059e0| 76 2d 66 69 6c 65 2d 6e | 61 6d 65 20 6e 69 6c 20 |v-file-n|ame nil | |000059f0| 62 75 66 66 65 72 2d 6c | 69 73 74 20 62 75 66 66 |buffer-l|ist buff| |00005a00| 65 72 2d 6d 6f 64 69 66 | 69 65 64 2d 70 20 62 75 |er-modif|ied-p bu| |00005a10| 66 66 65 72 2d 73 69 7a | 65 20 30 20 79 2d 6f 72 |ffer-siz|e 0 y-or| |00005a20| 2d 6e 2d 70 20 66 6f 72 | 6d 61 74 20 22 53 61 76 |-n-p for|mat "Sav| |00005a30| 65 20 66 69 6c 65 20 25 | 73 3f 20 22 20 22 53 61 |e file %|s? " "Sa| |00005a40| 76 65 20 62 75 66 66 65 | 72 20 25 73 3f 20 22 20 |ve buffe|r %s? " | |00005a50| 62 75 66 66 65 72 2d 6e | 61 6d 65 20 28 62 79 74 |buffer-n|ame (byt| |00005a60| 65 2d 63 6f 64 65 20 22 | c0 20 87 22 20 5b 73 61 |e-code "|. ." [sa| |00005a70| 76 65 2d 62 75 66 66 65 | 72 5d 20 32 29 20 28 28 |ve-buffe|r] 2) ((| |00005a80| 65 72 72 6f 72 20 28 62 | 79 74 65 2d 63 6f 64 65 |error (b|yte-code| |00005a90| 20 22 c0 87 22 20 5b 6e | 69 6c 5d 20 31 29 29 29 | ".." [n|il] 1)))| |00005aa0| 20 22 53 61 76 65 20 61 | 62 62 72 65 76 73 20 69 | "Save a|bbrevs i| |00005ab0| 6e 20 25 73 3f 20 22 20 | 77 72 69 74 65 2d 61 62 |n %s? " |write-ab| |00005ac0| 62 72 65 76 2d 66 69 6c | 65 20 6d 65 73 73 61 67 |brev-fil|e messag| |00005ad0| 65 20 22 22 20 22 28 4e | 6f 20 66 69 6c 65 73 20 |e "" "(N|o files | |00005ae0| 6e 65 65 64 20 73 61 76 | 69 6e 67 29 22 5d 20 31 |need sav|ing)"] 1| |00005af0| 33 29 29 0a 0a 28 64 65 | 66 75 6e 20 6e 6f 74 2d |3))..(de|fun not-| |00005b00| 6d 6f 64 69 66 69 65 64 | 20 6e 69 6c 20 22 5c 0a |modified| nil "\.| |00005b10| 4d 61 72 6b 20 63 75 72 | 72 65 6e 74 20 62 75 66 |Mark cur|rent buf| |00005b20| 66 65 72 20 61 73 20 75 | 6e 6d 6f 64 69 66 69 65 |fer as u|nmodifie| |00005b30| 64 2c 20 6e 6f 74 20 6e | 65 65 64 69 6e 67 20 74 |d, not n|eeding t| |00005b40| 6f 20 62 65 20 73 61 76 | 65 64 2e 22 20 28 69 6e |o be sav|ed." (in| |00005b50| 74 65 72 61 63 74 69 76 | 65 29 20 28 62 79 74 65 |teractiv|e) (byte| |00005b60| 2d 63 6f 64 65 20 22 c0 | 88 c1 c2 21 88 c3 c0 21 |-code ".|...!...!| |00005b70| 87 22 20 5b 6e 69 6c 20 | 6d 65 73 73 61 67 65 20 |." [nil |message | |00005b80| 22 4d 6f 64 69 66 69 63 | 61 74 69 6f 6e 2d 66 6c |"Modific|ation-fl| |00005b90| 61 67 20 63 6c 65 61 72 | 65 64 22 20 73 65 74 2d |ag clear|ed" set-| |00005ba0| 62 75 66 66 65 72 2d 6d | 6f 64 69 66 69 65 64 2d |buffer-m|odified-| |00005bb0| 70 5d 20 33 29 29 0a 0a | 28 64 65 66 75 6e 20 74 |p] 3))..|(defun t| |00005bc0| 6f 67 67 6c 65 2d 72 65 | 61 64 2d 6f 6e 6c 79 20 |oggle-re|ad-only | |00005bd0| 6e 69 6c 20 22 5c 0a 43 | 68 61 6e 67 65 20 77 68 |nil "\.C|hange wh| |00005be0| 65 74 68 65 72 20 74 68 | 69 73 20 62 75 66 66 65 |ether th|is buffe| |00005bf0| 72 20 69 73 20 76 69 73 | 69 74 69 6e 67 20 69 74 |r is vis|iting it| |00005c00| 73 20 66 69 6c 65 20 72 | 65 61 64 2d 6f 6e 6c 79 |s file r|ead-only| |00005c10| 2e 22 20 28 69 6e 74 65 | 72 61 63 74 69 76 65 29 |." (inte|ractive)| |00005c20| 20 28 62 79 74 65 2d 63 | 6f 64 65 20 22 c1 88 08 | (byte-c|ode "...| |00005c30| 3f 89 10 88 c2 c3 20 21 | 87 22 20 5b 62 75 66 66 |?..... !|." [buff| |00005c40| 65 72 2d 72 65 61 64 2d | 6f 6e 6c 79 20 6e 69 6c |er-read-|only nil| |00005c50| 20 73 65 74 2d 62 75 66 | 66 65 72 2d 6d 6f 64 69 | set-buf|fer-modi| |00005c60| 66 69 65 64 2d 70 20 62 | 75 66 66 65 72 2d 6d 6f |fied-p b|uffer-mo| |00005c70| 64 69 66 69 65 64 2d 70 | 5d 20 33 29 29 0a 0a 28 |dified-p|] 3))..(| |00005c80| 64 65 66 75 6e 20 69 6e | 73 65 72 74 2d 66 69 6c |defun in|sert-fil| |00005c90| 65 20 28 66 69 6c 65 6e | 61 6d 65 29 20 22 5c 0a |e (filen|ame) "\.| |00005ca0| 49 6e 73 65 72 74 20 63 | 6f 6e 74 65 6e 74 73 20 |Insert c|ontents | |00005cb0| 6f 66 20 66 69 6c 65 20 | 46 49 4c 45 4e 41 4d 45 |of file |FILENAME| |00005cc0| 20 69 6e 74 6f 20 62 75 | 66 66 65 72 20 61 66 74 | into bu|ffer aft| |00005cd0| 65 72 20 70 6f 69 6e 74 | 2e 0a 53 65 74 20 6d 61 |er point|..Set ma| |00005ce0| 72 6b 20 61 66 74 65 72 | 20 74 68 65 20 69 6e 73 |rk after| the ins| |00005cf0| 65 72 74 65 64 20 74 65 | 78 74 2e 22 20 28 69 6e |erted te|xt." (in| |00005d00| 74 65 72 61 63 74 69 76 | 65 20 22 66 49 6e 73 65 |teractiv|e "fInse| |00005d10| 72 74 20 66 69 6c 65 3a | 20 22 29 20 28 62 79 74 |rt file:| ") (byt| |00005d20| 65 2d 63 6f 64 65 20 22 | c2 88 c3 09 21 18 c4 60 |e-code "|....!..`| |00005d30| 08 41 40 5c 5c 21 29 87 | 22 20 5b 74 65 6d 20 66 |.A@\\!).|" [tem f| |00005d40| 69 6c 65 6e 61 6d 65 20 | 6e 69 6c 20 69 6e 73 65 |ilename |nil inse| |00005d50| 72 74 2d 66 69 6c 65 2d | 63 6f 6e 74 65 6e 74 73 |rt-file-|contents| |00005d60| 20 70 75 73 68 2d 6d 61 | 72 6b 5d 20 34 29 29 0a | push-ma|rk] 4)).| |00005d70| 0a 28 64 65 66 75 6e 20 | 61 70 70 65 6e 64 2d 74 |.(defun |append-t| |00005d80| 6f 2d 66 69 6c 65 20 28 | 73 74 61 72 74 20 65 6e |o-file (|start en| |00005d90| 64 20 66 69 6c 65 6e 61 | 6d 65 29 20 22 5c 0a 41 |d filena|me) "\.A| |00005da0| 70 70 65 6e 64 20 74 68 | 65 20 63 6f 6e 74 65 6e |ppend th|e conten| |00005db0| 74 73 20 6f 66 20 74 68 | 65 20 72 65 67 69 6f 6e |ts of th|e region| |00005dc0| 20 74 6f 20 74 68 65 20 | 65 6e 64 20 6f 66 20 66 | to the |end of f| |00005dd0| 69 6c 65 20 46 49 4c 45 | 4e 41 4d 45 2e 0a 57 68 |ile FILE|NAME..Wh| |00005de0| 65 6e 20 63 61 6c 6c 65 | 64 20 66 72 6f 6d 20 61 |en calle|d from a| |00005df0| 20 66 75 6e 63 74 69 6f | 6e 2c 20 65 78 70 65 63 | functio|n, expec| |00005e00| 74 73 20 74 68 72 65 65 | 20 61 72 67 75 6d 65 6e |ts three| argumen| |00005e10| 74 73 2c 0a 53 54 41 52 | 54 2c 20 45 4e 44 20 61 |ts,.STAR|T, END a| |00005e20| 6e 64 20 46 49 4c 45 4e | 41 4d 45 2e 20 20 53 54 |nd FILEN|AME. ST| |00005e30| 41 52 54 20 61 6e 64 20 | 45 4e 44 20 61 72 65 20 |ART and |END are | |00005e40| 62 75 66 66 65 72 20 70 | 6f 73 69 74 69 6f 6e 73 |buffer p|ositions| |00005e50| 0a 73 61 79 69 6e 67 20 | 77 68 61 74 20 74 65 78 |.saying |what tex| |00005e60| 74 20 74 6f 20 77 72 69 | 74 65 2e 22 20 28 69 6e |t to wri|te." (in| |00005e70| 74 65 72 61 63 74 69 76 | 65 20 22 72 0a 46 41 70 |teractiv|e "r.FAp| |00005e80| 70 65 6e 64 20 74 6f 20 | 66 69 6c 65 3a 20 22 29 |pend to |file: ")| |00005e90| 20 28 62 79 74 65 2d 63 | 6f 64 65 20 22 c4 88 c5 | (byte-c|ode "...| |00005ea0| 08 09 0a c3 24 87 22 20 | 5b 73 74 61 72 74 20 65 |....$." |[start e| |00005eb0| 6e 64 20 66 69 6c 65 6e | 61 6d 65 20 74 20 6e 69 |nd filen|ame t ni| |00005ec0| 6c 20 77 72 69 74 65 2d | 72 65 67 69 6f 6e 5d 20 |l write-|region] | |00005ed0| 35 29 29 0a 0a 28 64 65 | 66 76 61 72 20 72 65 76 |5))..(de|fvar rev| |00005ee0| 65 72 74 2d 62 75 66 66 | 65 72 2d 66 75 6e 63 74 |ert-buff|er-funct| |00005ef0| 69 6f 6e 20 6e 69 6c 20 | 22 5c 0a 46 75 6e 63 74 |ion nil |"\.Funct| |00005f00| 69 6f 6e 20 74 6f 20 75 | 73 65 20 74 6f 20 72 65 |ion to u|se to re| |00005f10| 76 65 72 74 20 74 68 69 | 73 20 62 75 66 66 65 72 |vert thi|s buffer| |00005f20| 2c 20 6f 72 20 6e 69 6c | 20 74 6f 20 64 6f 20 74 |, or nil| to do t| |00005f30| 68 65 20 64 65 66 61 75 | 6c 74 2e 22 29 0a 0a 28 |he defau|lt.")..(| |00005f40| 64 65 66 75 6e 20 72 65 | 76 65 72 74 2d 62 75 66 |defun re|vert-buf| |00005f50| 66 65 72 20 28 26 6f 70 | 74 69 6f 6e 61 6c 20 61 |fer (&op|tional a| |00005f60| 72 67 20 6e 6f 63 6f 6e | 66 69 72 6d 29 20 22 5c |rg nocon|firm) "\| |00005f70| 0a 52 65 70 6c 61 63 65 | 20 74 68 65 20 62 75 66 |.Replace| the buf| |00005f80| 66 65 72 20 74 65 78 74 | 20 77 69 74 68 20 74 68 |fer text| with th| |00005f90| 65 20 74 65 78 74 20 6f | 66 20 74 68 65 20 76 69 |e text o|f the vi| |00005fa0| 73 69 74 65 64 20 66 69 | 6c 65 20 6f 6e 20 64 69 |sited fi|le on di| |00005fb0| 73 6b 2e 0a 54 68 69 73 | 20 75 6e 64 6f 65 73 20 |sk..This| undoes | |00005fc0| 61 6c 6c 20 63 68 61 6e | 67 65 73 20 73 69 6e 63 |all chan|ges sinc| |00005fd0| 65 20 74 68 65 20 66 69 | 6c 65 20 77 61 73 20 76 |e the fi|le was v| |00005fe0| 69 73 69 74 65 64 20 6f | 72 20 73 61 76 65 64 2e |isited o|r saved.| |00005ff0| 0a 49 66 20 6c 61 74 65 | 73 74 20 61 75 74 6f 2d |.If late|st auto-| |00006000| 73 61 76 65 20 66 69 6c | 65 20 69 73 20 6d 6f 72 |save fil|e is mor| |00006010| 65 20 72 65 63 65 6e 74 | 20 74 68 61 6e 20 74 68 |e recent| than th| |00006020| 65 20 76 69 73 69 74 65 | 64 20 66 69 6c 65 2c 0a |e visite|d file,.| |00006030| 61 73 6b 73 20 75 73 65 | 72 20 77 68 65 74 68 65 |asks use|r whethe| |00006040| 72 20 74 6f 20 75 73 65 | 20 74 68 61 74 20 69 6e |r to use| that in| |00006050| 73 74 65 61 64 2e 0a 46 | 69 72 73 74 20 61 72 67 |stead..F|irst arg| |00006060| 75 6d 65 6e 74 20 28 6f | 70 74 69 6f 6e 61 6c 29 |ument (o|ptional)| |00006070| 20 6e 6f 6e 2d 6e 69 6c | 20 6d 65 61 6e 73 20 64 | non-nil| means d| |00006080| 6f 6e 27 74 20 6f 66 66 | 65 72 20 74 6f 20 75 73 |on't off|er to us| |00006090| 65 20 61 75 74 6f 2d 73 | 61 76 65 20 66 69 6c 65 |e auto-s|ave file| |000060a0| 2e 0a 20 54 68 69 73 20 | 69 73 20 74 68 65 20 70 |.. This |is the p| |000060b0| 72 65 66 69 78 20 61 72 | 67 20 77 68 65 6e 20 63 |refix ar|g when c| |000060c0| 61 6c 6c 65 64 20 69 6e | 74 65 72 61 63 74 69 76 |alled in|teractiv| |000060d0| 65 6c 79 2e 0a 0a 53 65 | 63 6f 6e 64 20 61 72 67 |ely...Se|cond arg| |000060e0| 75 6d 65 6e 74 20 28 6f | 70 74 69 6f 6e 61 6c 29 |ument (o|ptional)| |000060f0| 20 6e 6f 6e 2d 6e 69 6c | 20 6d 65 61 6e 73 20 64 | non-nil| means d| |00006100| 6f 6e 27 74 20 61 73 6b | 20 66 6f 72 20 63 6f 6e |on't ask| for con| |00006110| 66 69 72 6d 61 74 69 6f | 6e 20 61 74 20 61 6c 6c |firmatio|n at all| |00006120| 2e 0a 0a 49 66 20 72 65 | 76 65 72 74 2d 62 75 66 |...If re|vert-buf| |00006130| 66 65 72 2d 66 75 6e 63 | 74 69 6f 6e 27 73 20 76 |fer-func|tion's v| |00006140| 61 6c 75 65 20 69 73 20 | 6e 6f 6e 2d 6e 69 6c 2c |alue is |non-nil,| |00006150| 20 69 74 20 69 73 20 63 | 61 6c 6c 65 64 20 74 6f | it is c|alled to| |00006160| 20 64 6f 20 74 68 65 20 | 77 6f 72 6b 2e 22 20 28 | do the |work." (| |00006170| 69 6e 74 65 72 61 63 74 | 69 76 65 20 22 50 22 29 |interact|ive "P")| |00006180| 20 28 62 79 74 65 2d 63 | 6f 64 65 20 22 c9 88 08 | (byte-c|ode "...| |00006190| 83 0e 00 cd 08 09 0a 23 | 82 a2 00 60 1b 09 3f 85 |.......#|...`..?.| |000061a0| 27 00 ce 20 85 27 00 0d | 85 27 00 cf 0d 21 85 27 |'.. .'..|.'...!.'| |000061b0| 00 d0 d1 21 1c 0c 83 30 | 00 0d 82 32 00 0e 07 1e |...!...0|...2....| |000061c0| 06 0e 06 3f 83 40 00 d2 | d3 21 82 a1 00 d4 0e 06 |...?.@..|.!......| |000061d0| 21 3f 83 50 00 d2 d5 0e | 06 5c 22 82 a1 00 0a 86 |!?.P....|.\".....| |000061e0| 5b 00 d6 d7 d8 0e 06 5c | 22 21 85 a1 00 0c 3f 85 |[......\|"!....?.| |000061f0| 6e 00 d9 70 21 3f 85 6e | 00 c9 89 16 08 88 0e 0a |n..p!?.n|........| |00006200| cb 3d 86 7a 00 c9 89 16 | 0a 88 c9 cb 1e 0a 1e 0c |.=.z....|........| |00006210| c9 1e 07 0c 86 8a 00 da | 20 88 db 20 29 88 dc 0e |........| .. )...| |00006220| 06 0c 3f 5c 22 2a 88 0b | 64 5e 62 88 dd c9 21 88 |..?\"*..|d^b...!.| |00006230| cb 2b 87 22 20 5b 72 65 | 76 65 72 74 2d 62 75 66 |.+." [re|vert-buf| |00006240| 66 65 72 2d 66 75 6e 63 | 74 69 6f 6e 20 61 72 67 |fer-func|tion arg| |00006250| 20 6e 6f 63 6f 6e 66 69 | 72 6d 20 6f 70 6f 69 6e | noconfi|rm opoin| |00006260| 74 20 61 75 74 6f 2d 73 | 61 76 65 2d 70 20 62 75 |t auto-s|ave-p bu| |00006270| 66 66 65 72 2d 61 75 74 | 6f 2d 73 61 76 65 2d 66 |ffer-aut|o-save-f| |00006280| 69 6c 65 2d 6e 61 6d 65 | 20 66 69 6c 65 2d 6e 61 |ile-name| file-na| |00006290| 6d 65 20 62 75 66 66 65 | 72 2d 66 69 6c 65 2d 6e |me buffe|r-file-n| |000062a0| 61 6d 65 20 62 75 66 66 | 65 72 2d 62 61 63 6b 65 |ame buff|er-backe| |000062b0| 64 2d 75 70 20 6e 69 6c | 20 62 75 66 66 65 72 2d |d-up nil| buffer-| |000062c0| 75 6e 64 6f 2d 6c 69 73 | 74 20 74 20 62 75 66 66 |undo-lis|t t buff| |000062d0| 65 72 2d 72 65 61 64 2d | 6f 6e 6c 79 20 66 75 6e |er-read-|only fun| |000062e0| 63 61 6c 6c 20 72 65 63 | 65 6e 74 2d 61 75 74 6f |call rec|ent-auto| |000062f0| 2d 73 61 76 65 2d 70 20 | 66 69 6c 65 2d 72 65 61 |-save-p |file-rea| |00006300| 64 61 62 6c 65 2d 70 20 | 79 2d 6f 72 2d 6e 2d 70 |dable-p |y-or-n-p| |00006310| 20 22 42 75 66 66 65 72 | 20 68 61 73 20 62 65 65 | "Buffer| has bee| |00006320| 6e 20 61 75 74 6f 2d 73 | 61 76 65 64 20 72 65 63 |n auto-s|aved rec| |00006330| 65 6e 74 6c 79 2e 20 20 | 52 65 76 65 72 74 20 66 |ently. |Revert f| |00006340| 72 6f 6d 20 61 75 74 6f | 2d 73 61 76 65 20 66 69 |rom auto|-save fi| |00006350| 6c 65 3f 20 22 20 65 72 | 72 6f 72 20 22 42 75 66 |le? " er|ror "Buf| |00006360| 66 65 72 20 64 6f 65 73 | 20 6e 6f 74 20 73 65 65 |fer does| not see| |00006370| 6d 20 74 6f 20 62 65 20 | 61 73 73 6f 63 69 61 74 |m to be |associat| |00006380| 65 64 20 77 69 74 68 20 | 61 6e 79 20 66 69 6c 65 |ed with |any file| |00006390| 22 20 66 69 6c 65 2d 65 | 78 69 73 74 73 2d 70 20 |" file-e|xists-p | |000063a0| 22 46 69 6c 65 20 25 73 | 20 6e 6f 20 6c 6f 6e 67 |"File %s| no long| |000063b0| 65 72 20 65 78 69 73 74 | 73 21 22 20 79 65 73 2d |er exist|s!" yes-| |000063c0| 6f 72 2d 6e 6f 2d 70 20 | 66 6f 72 6d 61 74 20 22 |or-no-p |format "| |000063d0| 52 65 76 65 72 74 20 62 | 75 66 66 65 72 20 66 72 |Revert b|uffer fr| |000063e0| 6f 6d 20 66 69 6c 65 20 | 25 73 3f 20 22 20 76 65 |om file |%s? " ve| |000063f0| 72 69 66 79 2d 76 69 73 | 69 74 65 64 2d 66 69 6c |rify-vis|ited-fil| +--------+-------------------------+-------------------------+--------+--------+ Only 25.0 KB of data is shown above.